Commit Graph
5 Commits
Author SHA1 Message Date
David Hart 2474d61a80 Multiple proposal improvements to the API (#41)
* Move `Logging.make` to a `Logger` initializer.
* Remove all factory initializers in example and test code.
2019-02-18 20:27:59 +01:00
Konrad `ktoso` Malawski ed51baef90 Align names of Multiplexing loggers #37 (#38) 2019-01-29 09:53:13 +00:00
tomer doron 11ea26a505 improve global logging example (#30)
motivation: better example

changes: the exmaple is single threaded, but better to show how to properly use global loggers (although we discourage them)
2019-01-17 18:38:23 +00:00
Johannes Weiss c7ac24db1f nest types & allow nested metadata 2019-01-08 18:13:52 +00:00
tomer doron 9027df5f03 refactor examples and remove dependecy on foundation
motivation:
* due to the low level nature of the library we prefer not to force-load foundation
* help reviewers diffrentiate between examples of usage vs implementation, and add more realistic usage and implementations examples

changes:
* remove foundation from Logging module, replace with c based locks and time functions
* rewrite usage examples to be more realistic
* add example of an implementation that writes to files
* add example of an implementation that is config driven
* rename warn -> warning
2019-01-05 02:03:44 -08:00