---
source: crates/ruff_linter/src/rules/flake8_logging/mod.rs
---
LOG001 [*] Use `logging.getLogger()` to instantiate loggers
 --> LOG001.py:3:1
  |
1 | import logging
2 |
3 | logging.Logger(__name__)
  | ^^^^^^^^^^^^^^
4 | logging.Logger()
5 | logging.getLogger(__name__)
  |
help: Replace with `logging.getLogger()`
  |
2 |
  - logging.Logger(__name__)
3 + logging.getLogger(__name__)
4 | logging.Logger()
  |
note: This is an unsafe fix and may change runtime behavior

LOG001 [*] Use `logging.getLogger()` to instantiate loggers
 --> LOG001.py:4:1
  |
3 | logging.Logger(__name__)
4 | logging.Logger()
  | ^^^^^^^^^^^^^^
5 | logging.getLogger(__name__)
  |
help: Replace with `logging.getLogger()`
  |
3 | logging.Logger(__name__)
  - logging.Logger()
4 + logging.getLogger()
5 | logging.getLogger(__name__)
  |
note: This is an unsafe fix and may change runtime behavior
