cat_gateway

Module logger

source
Expand description

Setup for logging for the service.

Enumsยง

  • LogLevel ๐Ÿ”’
    All valid logging levels

Constantsยง

Staticsยง

  • GLOBAL_SPAN ๐Ÿ”’
    Default Span Guard for the Service.
  • LOGGER_HANDLE ๐Ÿ”’
    Logger Handle for the Service.
  • SPAN_GUARD ๐Ÿ”’
    Default Span Guard for the Service.

Functionsยง

  • init ๐Ÿ”’
    Initialize the tracing subscriber
  • Modify the logger level setting. This will reload the logger.
  • set_default_span ๐Ÿ”’
    Set the default fields in a log, using a global span.

Type Aliasesยง