Skip to content

Commit d70a6cb

Browse files
cehsrittau
authored andcommitted
Add missing instance attributes to logging.LoggerAdapter (#2462)
1 parent 1bc1fc2 commit d70a6cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/2and3/logging/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ class LogRecord:
227227

228228

229229
class LoggerAdapter:
230+
logger: Logger
231+
extra: Mapping[str, Any]
230232
def __init__(self, logger: Logger, extra: Mapping[str, Any]) -> None: ...
231233
def process(self, msg: Any, kwargs: MutableMapping[str, Any]) -> Tuple[Any, MutableMapping[str, Any]]: ...
232234
if sys.version_info >= (3,):

0 commit comments

Comments
 (0)