Files
swift-log/Sources/Examples/main.swift
T
tomer doron 132af4ff5a add multiplex logger
motivation: support situations when users want to multiplex to multiple logging implementations

changes:
* add MultiplexLogging (factory) and MUXLogHandler (implementation), allowing user to plug in multiple logging implementations
* add tests and examples to demonstrate the functionality
2019-01-02 14:58:37 -08:00

19 lines
379 B
Swift

print("##### explicit logger passing #####")
ExplicitContextPassingExample.main()
print()
print("##### one global logger #####")
OneGlobalLoggerExample.main()
print()
print("##### logger per sub-system #####")
LoggerPerSubsystemExample.main()
print()
print("##### other random examples #####")
RandomExample.main()
print()
print("##### mux examples #####")
MUXExample.main()