diff --git a/src/clp_logging/auto_generated_kv_pairs_utils.py b/src/clp_logging/auto_generated_kv_pairs_utils.py index 23f0d0a..5eca3e5 100644 --- a/src/clp_logging/auto_generated_kv_pairs_utils.py +++ b/src/clp_logging/auto_generated_kv_pairs_utils.py @@ -61,7 +61,7 @@ def generate( self._buf[ZONED_TIMESTAMP_KEY][ZONED_TIMESTAMP_UTC_EPOCH_MS_KEY] = timestamp self._buf[ZONED_TIMESTAMP_KEY][ZONED_TIMESTAMP_TZ_KEY] = timezone - # WOTE: We don't serialize all the metadata given by `record`. Currently, we only add the + # NOTE: We don't serialize all the metadata given by `record`. Currently, we only add the # following metadata into auto-generated kv pairs: # - log level # - source context diff --git a/tests/test_handlers.py b/tests/test_handlers.py index 03653b0..91d83c8 100644 --- a/tests/test_handlers.py +++ b/tests/test_handlers.py @@ -841,7 +841,7 @@ def _log(self, level: int, kv_pairs: Dict[str, Any]) -> None: level_name: str = logging.getLevelName(level) path: Path = Path(__file__).resolve() curr_frame: Optional[FrameType] = inspect.currentframe() - # NOTE: this line must be right before the actual logging statement + # NOTE: This line must be right before the actual logging statement line: Optional[int] = curr_frame.f_lineno + 1 if curr_frame is not None else None self._logger.log(level, kv_pairs) expected: ExpectedLogEvent = ExpectedLogEvent(