Logger.odin

log

log (level: LogLevel, namespace: string, component_name: string, format: string, args: ..any)

log logs a message to stdout/stderr calls to log with the .DEBUG level will only output if your game is compiled as a debug build

Parameters:
  • level: the level to log at. options are (DEBUG, INFO, WARN, ERROR)
  • component_name: the name associated to what called this function
  • format: a regular odin format string followed by the vars to print out