From 39314aff2de8d9198e8e54a8c25140d52428fa9b Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 9 Jul 2025 22:44:10 +0900 Subject: [PATCH] fix typo in docs --- README.md | 2 +- lib/logger_json.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abdc254..c3f5150 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Additionally, you may also be try [redirecting otp reports to Logger](https://he ## Configuration Configuration can be set using 2nd element of the tuple of the `:formatter` option in `Logger` configuration. -For example in `config.exs`: +For example in `runtime.exs`: ```elixir config :logger, :default_handler, diff --git a/lib/logger_json.ex b/lib/logger_json.ex index 0364185..c5cc64e 100644 --- a/lib/logger_json.ex +++ b/lib/logger_json.ex @@ -52,7 +52,7 @@ defmodule LoggerJSON do Configuration can be set using `new/1` helper of the formatter module, or by setting the 2nd element of the `:formatter` option tuple in `Logger` configuration. - For example in `config.exs`: + For example in `runtime.exs`: config :logger, :default_handler, formatter: LoggerJSON.Formatters.GoogleCloud.new(metadata: :all, project_id: "logger-101")