MCP Server Framework - v1.0.0
    Preparing search index...

    Interface LogEntryParams

    Parameters for formatting a log entry.

    interface LogEntryParams {
        component: string;
        context?: LogContext;
        error?: Error;
        formatArgs?: unknown[];
        level: LogLevel;
        message: string;
        metadata?: Record<string, unknown>;
        timestamp?: string;
    }
    Index

    Properties

    component: string

    Component name

    context?: LogContext

    Optional logging context

    error?: Error

    Optional error (auto-detected from args or explicitly set)

    formatArgs?: unknown[]

    Format arguments for printf-style placeholders

    level: LogLevel

    Log level

    message: string

    Log message (may contain printf-style placeholders)

    metadata?: Record<string, unknown>

    Optional metadata object

    timestamp?: string

    Timestamp (ISO 8601)