Module

server.request_logger

Request logging utilities for the dev server.

Provides beautiful, minimal logging for HTTP requests with color-coded output.

Classes

RequestLogger
Mixin class providing beautiful, minimal logging for HTTP requests. This class is designed to be m…
2

Mixin class providing beautiful, minimal logging for HTTP requests.

This class is designed to be mixed into an HTTP request handler.

Methods 2

log_message
Log an HTTP request with beautiful formatting.
1 None
def log_message(self, format: str, *args: Any) -> None

Log an HTTP request with beautiful formatting.

Parameters 1
format str

Format string *args: Format arguments

log_error
Suppress error logging - we handle everything in log_message.
1 None
def log_error(self, format: str, *args: Any) -> None

Suppress error logging - we handle everything in log_message.

Parameters 1
format str

Format string *args: Format arguments