module Async::Console

def self.debug(...)

Log a message at the debug level. The shim is silent.
def self.debug(...)
end

def self.error(...)

Log a message at the error level. The shim redirects to `Kernel#warn`.
def self.error(...)
	self.warn(...)
end

def self.fatal(...)

Log a message at the fatal level. The shim redirects to `Kernel#warn`.
def self.fatal(...)
	self.warn(...)
end

def self.info(...)

Log a message at the info level. The shim is silent.
def self.info(...)
end

def self.warn(*arguments, exception: nil, **options)

Log a message at the warn level. The shim redirects to `Kernel#warn`.
def self.warn(*arguments, exception: nil, **options)
	if exception
		super(*arguments, exception.full_message, **options)
	else
		super(*arguments, **options)
	end
end