mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-05-30 15:42:25 +00:00
♻️ Harden async logger lifecycle semantics
This commit is contained in:
@@ -21,7 +21,6 @@ async fn main {
|
||||
logger.info("one", fields=[@lib.field("token", "secret")])
|
||||
logger.child("worker").info("two")
|
||||
logger.with_target("skip.demo").info("three")
|
||||
logger.wait_idle()
|
||||
logger.close()
|
||||
logger.shutdown()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user