Only calls `structlog.get_logger`, but has the correct type hints. .. warning:: Does **not** check whether -- or ensure that -- you've configured *structlog* for standard library :mod:`logging`! See :doc:`standard-library` for details. .. versionadded:: 20.2.0
(*args: Any, **initial_values: Any)
| 543 | |
| 544 | |
| 545 | def get_logger(*args: Any, **initial_values: Any) -> BoundLogger: |
| 546 | """ |
| 547 | Only calls `structlog.get_logger`, but has the correct type hints. |
| 548 | |
| 549 | .. warning:: |
| 550 | |
| 551 | Does **not** check whether -- or ensure that -- you've configured |
| 552 | *structlog* for standard library :mod:`logging`! |
| 553 | |
| 554 | See :doc:`standard-library` for details. |
| 555 | |
| 556 | .. versionadded:: 20.2.0 |
| 557 | """ |
| 558 | return _config.get_logger(*args, **initial_values) |
| 559 | |
| 560 | |
| 561 | class AsyncBoundLogger: |
no outgoing calls
searching dependent graphs…