Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/logger_json.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down