Skip to content

ui.console #

enum LogLevel #

enum LogLevel {
	error
	warning
	info
	debug
}

struct Logger #

struct Logger {
pub mut:
	level LogLevel
}

fn (Logger) info #

fn (log Logger) info(msg string)

fn (Logger) debug #

fn (log Logger) debug(msg string)

fn (Logger) warning #

fn (log Logger) warning(msg string)

fn (Logger) success #

fn (log Logger) success(msg string)

fn (Logger) error #

fn (log Logger) error(msg string)

fn (Logger) critical #

fn (log Logger) critical(msg string)