Represents the functionality of writing logs to some output. The Logger uses an
instance of a class that implements this interface (FileLoggerWriter by default)
to write log messages.
Methods
setFilename(filename:String):Bool
Sets the filename of the log.
Parameters:
filename | The current filename of the log. |
|---|
Returns:
true if file has been reset, false otherwise.
writeLine(level:Int, line:String):Void
Writes a line to the log output. The new line character is added by the method.