A log service and helper methods.
namespace log
implicit import ideal • library • channels
implicit import ideal • runtime • channels
import ideal • machine • adapters • java • lang • String
import ideal • machine • channels • standard channels
private text fragment to text(log message the message) pure
return the message • to 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 channels • stdout)))
void debug(String the string)
log output • write(simple message • new(log level • DEBUG, base string • new(the string)))
void error(String the string)
log output • write(simple message • new(log level • ERROR, base string • new(the string)))