DaveWoodCom / XCGLogger

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.
MIT License
3.94k stars 477 forks source link

log level implementation incomplete? #296

Closed hk05 closed 4 years ago

hk05 commented 4 years ago

The readme gives the impression that one can use the new log levels log.alert("something"), lag.notice("something") and log.severe("something") in a way similar to the other log levels (e.g. log.debug et al).

The methods from the readme/Basic Usage (Quick Start) cannot be used (for example: "log.notice("A notice message")" results in a compiler error). In the source code I can see that the log levels have been implemented, but not the functions.

I assume that the implementation is not complete yet? Or is it supposed to be used in a different way (in which case the readme is confusing).

DaveWoodCom commented 4 years ago

@hk05 You're correct. No idea how I missed that. Will update shortly. Thanks for pointing this out.

DaveWoodCom commented 4 years ago

Fixed in 7.0.1 Thanks again.