mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-31 07:24:31 +00:00
🔊 Update 1.0.0
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
///|
|
||||
fn main {
|
||||
let logger = @lib.build_logger(
|
||||
@lib.text_console(
|
||||
@@ -11,5 +12,8 @@ fn main {
|
||||
),
|
||||
),
|
||||
)
|
||||
logger.info("formatted output", fields=[@lib.field("user", "alice"), @lib.field("request_id", "42")])
|
||||
logger.info("formatted output", fields=[
|
||||
@lib.field("user", "alice"),
|
||||
@lib.field("request_id", "42"),
|
||||
])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user