edgeport - v1.0.3
    Preparing search index...

    Interface LogOptions

    A single log record to format and send.

    Only severity and message are required. Absent fields render as the NIL value -, except facility (defaults to user), timestamp (defaults to now), and the appName/hostname/procId session defaults.

    1.0.0

    interface LogOptions {
        appName?: string;
        facility?: FacilityInput;
        hostname?: string;
        message: string;
        msgId?: string;
        procId?: string;
        severity: SeverityInput;
        structuredData?: StructuredDataElement[];
        timestamp?: string | Date;
    }
    Index
    appName?: string

    APP-NAME override for this message.

    facility?: FacilityInput

    Facility as the enum, number, or lowercase name; defaults to user.

    hostname?: string

    HOSTNAME override for this message.

    message: string

    The free-form message text (a leading BOM + UTF-8 is preserved as given).

    msgId?: string

    MSGID override for this message.

    procId?: string

    PROCID override for this message.

    severity: SeverityInput

    Severity as the enum, number, or lowercase name.

    structuredData?: StructuredDataElement[]

    Structured-data elements, or omit for the NIL value.

    timestamp?: string | Date

    TIMESTAMP as a Date or pre-formatted string; defaults to now.