@@ -451,12 +451,12 @@ def decorate(event, context, *args, **kwargs):
451
451
def info (
452
452
self ,
453
453
msg : object ,
454
- * args ,
455
- exc_info = None ,
454
+ * args : object ,
455
+ exc_info : logging . _ExcInfoType = None ,
456
456
stack_info : bool = False ,
457
457
stacklevel : int = 2 ,
458
458
extra : Optional [Mapping [str , object ]] = None ,
459
- ** kwargs ,
459
+ ** kwargs : object ,
460
460
) -> None :
461
461
extra = extra or {}
462
462
extra = {** extra , ** kwargs }
@@ -473,12 +473,12 @@ def info(
473
473
def error (
474
474
self ,
475
475
msg : object ,
476
- * args ,
477
- exc_info = None ,
476
+ * args : object ,
477
+ exc_info : logging . _ExcInfoType = None ,
478
478
stack_info : bool = False ,
479
479
stacklevel : int = 2 ,
480
480
extra : Optional [Mapping [str , object ]] = None ,
481
- ** kwargs ,
481
+ ** kwargs : object ,
482
482
) -> None :
483
483
extra = extra or {}
484
484
extra = {** extra , ** kwargs }
@@ -495,12 +495,12 @@ def error(
495
495
def exception (
496
496
self ,
497
497
msg : object ,
498
- * args ,
498
+ * args : object ,
499
499
exc_info : logging ._ExcInfoType = True ,
500
500
stack_info : bool = False ,
501
501
stacklevel : int = 2 ,
502
502
extra : Optional [Mapping [str , object ]] = None ,
503
- ** kwargs ,
503
+ ** kwargs : object ,
504
504
) -> None :
505
505
extra = extra or {}
506
506
extra = {** extra , ** kwargs }
@@ -517,12 +517,12 @@ def exception(
517
517
def critical (
518
518
self ,
519
519
msg : object ,
520
- * args ,
521
- exc_info = None ,
520
+ * args : object ,
521
+ exc_info : logging . _ExcInfoType = None ,
522
522
stack_info : bool = False ,
523
523
stacklevel : int = 2 ,
524
524
extra : Optional [Mapping [str , object ]] = None ,
525
- ** kwargs ,
525
+ ** kwargs : object ,
526
526
) -> None :
527
527
extra = extra or {}
528
528
extra = {** extra , ** kwargs }
@@ -539,12 +539,12 @@ def critical(
539
539
def warning (
540
540
self ,
541
541
msg : object ,
542
- * args ,
543
- exc_info = None ,
542
+ * args : object ,
543
+ exc_info : logging . _ExcInfoType = None ,
544
544
stack_info : bool = False ,
545
545
stacklevel : int = 2 ,
546
546
extra : Optional [Mapping [str , object ]] = None ,
547
- ** kwargs ,
547
+ ** kwargs : object ,
548
548
) -> None :
549
549
extra = extra or {}
550
550
extra = {** extra , ** kwargs }
@@ -561,12 +561,12 @@ def warning(
561
561
def debug (
562
562
self ,
563
563
msg : object ,
564
- * args ,
565
- exc_info = None ,
564
+ * args : object ,
565
+ exc_info : logging . _ExcInfoType = None ,
566
566
stack_info : bool = False ,
567
567
stacklevel : int = 2 ,
568
568
extra : Optional [Mapping [str , object ]] = None ,
569
- ** kwargs ,
569
+ ** kwargs : object ,
570
570
) -> None :
571
571
extra = extra or {}
572
572
extra = {** extra , ** kwargs }
0 commit comments