class Async::Container::Notify::Console

Implements a general process readiness protocol with output to the local console.

def self.open!(logger = ::Console)

Open a notification client attached to the current console.
def self.open!(logger = ::Console)
	self.new(logger)
end

def error!(text, **message)

@parameters message [Hash] Additional details to send with the message.
@parameters text [String] The details of the error condition.
Send an error message to the console.
def error!(text, **message)
	send(status: text, level: :error, **message)
end

def initialize(logger)

@parameter logger [Console::Logger] The console logger instance to send messages to.
Initialize the notification client.
def initialize(logger)
	@logger = logger
end

def send(level: :info, **message)

Send a message to the console.
def send(level: :info, **message)
	@logger.public_send(level, self) {message}
end