Formats a message as print would and hands it to context.logger.
log :: (
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
- a
Log_Flagsvalue, such as.ERRORor.CONTENT. Passed on to the logger. - user_flags: u32
- bits for your own logger. Nothing in the standard library reads them.
- section: *Log_Section
- the
Log_Sectionthe message belongs to, or null. Passed on to the logger.
log :: (
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