Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Sep 30, 2024
1 parent 559b5df commit aa33995
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/service-library/src/servicelib/logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,6 @@ def get_log_record_extra(
return extra or None


def _un_capitalize(s: str) -> str:
return s[:1].lower() + s[1:] if s else ""


def create_troubleshotting_log_message(
message_to_user: str,
error: BaseException,
Expand Down Expand Up @@ -379,6 +375,10 @@ def create_troubleshotting_log_message(
return f"{message_to_user}.\n{debug_data}"


def _un_capitalize(s: str) -> str:
return s[:1].lower() + s[1:] if s else ""


@contextmanager
def log_context(
logger: logging.Logger,
Expand Down

0 comments on commit aa33995

Please sign in to comment.