Skip to content

Commit

Permalink
Merge pull request #1485 from robinchew/main
Browse files Browse the repository at this point in the history
Documentation should show default option of logger_std_h to be #{}

Documentation should show default option of logger_std_h to be `#{}` instead of
`undefined`.

A crash would occur if `undefined` is actually used.
  • Loading branch information
bettio committed Feb 9, 2025
2 parents 179eaad + 68e27a2 commit 4e77860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/programmers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ The configuration map supplied to the logger_manager may contain the following k
| Key | Type | Default| Description |
|-----|------|--------|-------------|
| `log_level` | `log_level()` | `notice` | Primary log level |
| `logger` | `logger_config()` | `{handler, default, logger_std_h, undefined}` | Log configuration |
| `logger` | `logger_config()` | `{handler, default, logger_std_h, #{}}` | Log configuration |
| `module_level` | `module_level()` | `undefined` | Log level specific to a set of modules |

where `log_level()` is defined to be:
Expand Down

0 comments on commit 4e77860

Please sign in to comment.