DaveWoodCom

XCGLogger

DaveWoodCom

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.

AI 简介

XCGLogger 是一个用于 Swift 项目的调试日志框架。它允许开发者将日志信息输出到控制台(可选地还包括文件或其他自定义目的地),并提供日期、函数名、文件名和行号等额外信息,从而替代了传统的 `NSLog()` 或 `print()` 方法。项目支持多种集成方式,包括 Carthage、CocoaPods 和 Git 子模块,方便在不同环境中使用。适用于 iOS、macOS、tvOS 和 watchOS 平台上需要详细且结构化日志记录的应用开发场景。

Swift
MIT License
4k
Stars
476
Forks
93
Watchers
40
Issues

Star 增长

今日0
近 7 天0
近 30 天0
综合评分40.04
默认分支main