A log service and helper methods.
namespace log
implicit import ideallibrarychannels
implicit import idealruntimechannels
import idealmachineadaptersjavalangString
import idealmachinechannelsstandard channels
private text fragment to text(log message the message) pure
return the messageto text()
final output[log message] log output : auto sync output[log message] • new(output transformer[log message, text fragment] • new(to text, plain formatter • new(standard channelsstdout)))
void debug(String the string)
log outputwrite(simple message • new(log levelDEBUG, base string • new(the string)))
void error(String the string)
log outputwrite(simple message • new(log levelERROR, base string • new(the string)))