Basic module

log_error

procedure2 overloadsSource

Like log, with the .ERROR flag added.

log_error :: (
    format_string: string,
    args: ..Any,
    loc := #caller_location,
    flags := Log_Flags.NONE,
    user_flags: u32 = 0,
    section: *Log_Section = null
)

Parameters

format_string: string
args: ..Any
loc := #caller_location
flags := Log_Flags.NONE
user_flags: u32 = 0
section: *Log_Section = null
Example↗
log_error("could not open %", "config.txt");
log_error :: (
    section: *Log_Section,
    format_string: string,
    args: ..Any,
    loc := #caller_location,
    flags := Log_Flags.NONE,
    user_flags: u32 = 0
)

Parameters

section: *Log_Section
format_string: string
args: ..Any
loc := #caller_location
flags := Log_Flags.NONE
user_flags: u32 = 0

See also