From 68b08da6e00247b85b83616d08b65226c095f2ab Mon Sep 17 00:00:00 2001 From: Navin Peiris Date: Mon, 14 Oct 2024 21:14:13 +0530 Subject: [PATCH] Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00ae70e..02c37ae 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Logster provides `debug`, `info`, `warning`, `error` etc convenience functions t For example: ```elixir -Logger.info(service: :payments, event: :received, amount: 1000, customer: 123) +Logster.info(service: :payments, event: :received, amount: 1000, customer: 123) ``` will output the following to the logs: @@ -108,7 +108,7 @@ will output the following to the logs: You can also provide a function to be called lazily, which will only be called if the log level is enabled: ```elixir -Logger.debug(fn -> +Logster.debug(fn -> # some potentially expensive operation # won't be called if the log level is not enabled customer = get_customer_id()