View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/server/logging/formatters.py
ColoredFormatter
MCPAccessFormatter
MCPErrorFormatter
method init
Initialize the formatter with specified format strings.Initialize the formatter either with the specified format string, or a
default as described above. Allow for specialized date formatting with
the optional datefmt argument. If datefmt is omitted, you get an
ISO8601-like (or RFC 3339-like) format.Use a style parameter of ’%’, ’{’ or ’$’ to specify that you want to
use one of %-formatting, :meth:str.format (\{\}) formatting or
:class:string.Template formatting in your format string... versionchanged:: 3.2
Added the style parameter.ParametersSignatureParameter valueParameter valueParameter valueParameter valueParameter value