Interface Logger

An abstract logger. All log operations are synchronized by a global mutex. Implementations do not need to bother about thread safety.

interface Logger ;

Methods

NameDescription
close () release resource associated with the logger
print (msg) print msg into the log