Skip to main content
Version: 1.7

ActorLogFormatter

{"content": ["Log formatter that prints out the log message nicely formatted, with colored level and stringified extra fields.\n\nIt formats the log records so that they:\n- start with the level (colorized, and padded to 5 chars so that it is nicely aligned)\n- then have the actual log message, if it's multiline then it's nicely indented\n- then have the stringified extra log fields\n- then, if an exception is a part of the log record, prints the formatted exception."]}

Index

Constructors

Constructors

__init__

  • __init__(include_logger_name, args, kwargs): None
  • {"content": ["Create an instance of the ActorLogFormatter.\n", {"


    Parameters

    • include_logger_name: bool = False
    • args: Any
    • kwargs: Any

    Returns None

Page Options