Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Debug(msg string, keyValuePairs ...any)
Info(msg string, keyValuePairs ...any)
Warn(msg string, keyValuePairs ...any)
Error(msg string, keyValuePairs ...any)
Flush() error
}
Logger is a minimal logging interface that can be satisfied by both standalone (mlog) and embedded (pluginapi) logging implementations
func CreateDefaultLogger ¶
CreateDefaultLogger creates a logger with sensible defaults for the MCP server
func CreateLoggerWithOptions ¶
CreateLoggerWithOptions creates a logger with debug and file logging options This function sets up a fully configured logger and enables std log redirection Returns the simplified Logger interface
func NewStandaloneLogger ¶
NewStandaloneLogger creates a Logger that wraps mlog.Logger
Click to show internal directories.
Click to hide internal directories.