Skip to content

Commit

Permalink
docs(logger): fix typo for the INFO log_level example (#5039)
Browse files Browse the repository at this point in the history
docs(logger): Fix typo for the INFO log_level example
  • Loading branch information
ashemedai authored Aug 21, 2024
1 parent 9f95be8 commit c0ced01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ We support the following log levels:
| `ERROR` | 40 | `logging.ERROR` |
| `CRITICAL` | 50 | `logging.CRITICAL` |

If you want to access the numeric value of the current log level, you can use the `log_level` property. For example, if the current log level is `INFO`, `logger.log_level` property will return `10`.
If you want to access the numeric value of the current log level, you can use the `log_level` property. For example, if the current log level is `INFO`, `logger.log_level` property will return `20`.

=== "setting_log_level_constructor.py"

Expand Down

0 comments on commit c0ced01

Please sign in to comment.