From 0983484bc0929f4b84e855f7f1a16be3cd06ca8c Mon Sep 17 00:00:00 2001 From: wqtt Date: Tue, 30 Jul 2024 00:50:09 -0400 Subject: [PATCH] chore(docs): fix code example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 20cd5d2..a1cb2e4 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,10 @@ pub fn main() { pine.new() // You can set the level. - |> pine.set_level(pine.level_info) + |> pine.set_level(pine.level_info()) // As well as the format. - |> pine.set_format(pine.format_json) + |> pine.set_format(pine.format_json()) // And finally, the transport! |> pine.set_transport(pine.transport_file("logs.txt")) @@ -69,7 +69,7 @@ pub fn main() { // then see them all in action |> pine.info("hello world!") - // info hello world! version=v1.0.2 page_views=69 opacity=0.89 checked_balance=false + // info hello world! version=v1.0.2 page_views=69 opacity=0.89 checked_balance=False } ```