Skip to content

Commit 3a7006d

Browse files
authored
Clarify sentence about get_logger() arguments (#706)
Currently the sentence starts with "these", but it's not clear to what that word refers.
1 parent 2f0cc42 commit 3a7006d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ It's a callable that returns the logger that gets wrapped and returned.
7575
In the simplest case, it's a function that returns a logger -- or just a class.
7676
But you can also pass in an instance of a class with a `__call__` method for more complicated setups.
7777

78-
These will be passed to the logger factories.
78+
The arguments you pass to `structlog.get_logger()` will be passed to the logger factory.
7979
For example, if you use `structlog.get_logger("a name")` and configure *structlog* to use the standard library {class}`~structlog.stdlib.LoggerFactory`, which has support for positional parameters, the returned logger will have the name `"a name"`.
8080

8181
For the common cases of standard library logging and Twisted logging, *structlog* comes with two factories built right in:

0 commit comments

Comments
 (0)