API reference
Preparing search index…

Application logging through Rml::Log and the selected system interface.

Each call formats and dispatches in one native entry. Uses the checked scalar printf domain of createString. Native logging retains its 1,021-byte payload limit and stops at NUL. It works before initialization. Runtime ownership and callback reentry guards still apply; callback errors propagate.

Source & inheritance
Member directory2

Methods

Methods

  • Format and send a message using Rml::Log::Message.

    Parameters

    type

    Native severity from Always through Debug.

    format
    string

    Checked scalar printf format without embedded NUL.

    ...values
    (string | number)[]

    Ordered string or numeric arguments; defaults to none.

    Returns

    void
    Source & inheritance
  • Format a parse error with the native filename and optional line prefix.

    Parameters

    filename
    string

    Source filename, retained by the call as UTF-8.

    line
    number

    Signed native int; a negative value omits the line prefix.

    format
    string

    Checked scalar printf format without embedded NUL.

    ...values
    (string | number)[]

    Ordered string or numeric arguments; defaults to none.

    Returns

    void

    Keeps Rml::Log::ParseError's two truncation stages and Error severity.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0