mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
* add flush api to default stdout/stderr logger motivation: default logger may not flush the streams on crush, so need to make flushing moe explicit changes: * add a constructor argument to control flushing behaviour, default to "everytime" * add a "flush" method to allow user defined flush timing. this api is now internal but we could expose it if there is a need * add tests * fixup