├── README.md ├── lcl.c ├── lcl.h ├── lcl.m ├── lcl_config_components.template.h ├── lcl_config_extensions.template.h └── lcl_config_logger.template.h /README.md: -------------------------------------------------------------------------------- 1 | 2 | # LibComponentLogging-Core 3 | 4 | [http://0xc0.de/LibComponentLogging](http://0xc0.de/LibComponentLogging) 5 | [http://github.com/aharren/LibComponentLogging-Core](http://github.com/aharren/LibComponentLogging-Core) 6 | 7 | 8 | ## Overview 9 | 10 | LibComponentLogging is a small logging library for Objective-C on Mac OS X and 11 | iOS which provides log levels, log components, and pluggable logging back-ends, 12 | e.g. writing log messages to a file, or sending them to the system log. 13 | 14 | LibComponentLogging is available under the terms of the MIT license. 15 | 16 | This Git repository contains the library's Core part. 17 | 18 | 19 | ## Example 20 | 21 | After configuring a logging back-end, e.g. the LogFile back-end, you can simply 22 | start logging (to the log file) by using LibComponentLogging's standard logging 23 | macro lcl_log(...), e.g. 24 | 25 | lcl_log(lcl_cMyComponent, lcl_vError, @"message ..."); 26 | 27 | The LogFile logger uses the format 28 | 29 |