Aster TypeScript 0.3.893
    Preparing search index...

    Interface RustLogRecord

    One Rust log record, as the sink receives it.

    interface RustLogRecord {
        level: number;
        flags: number;
        timestampMs: number;
        traceId?: string;
        spanId?: string;
        callId: number;
        target: string;
        logger: string;
        message: string;
        fields: Record<string, string>;
    }
    Index

    Properties

    level: number

    1 error, 2 warn, 3 info, 4 debug, 5 trace.

    flags: number

    HAS_TRACE 1 | IN_CALL 2 | SYNTHETIC 4 (a drop report) | AUDIT 8.

    timestampMs: number

    Wall clock, milliseconds since the Unix epoch (fractional).

    traceId?: string

    32 lowercase hex characters when flags & 1.

    spanId?: string

    16 lowercase hex characters when flags & 1.

    callId: number

    The rpc span's call id when flags & 2, else 0.

    target: string

    The tracing target (aster::rpc::dispatch).

    logger: string

    The target as a logger name (aster.rpc.dispatch).

    message: string
    fields: Record<string, string>

    The event's fields, then rpc.service, rpc.method, aster.peer and thread.name where they apply.