| Package | com.daveoncode.logging.io |
| Class | public class LogWriter |
| Inheritance | LogWriter flash.events.EventDispatcher |
See also
| Method | Defined by | ||
|---|---|---|---|
|
LogWriter(file:File, sizeLimit:uint)
Constructor function of LogWriter class
| LogWriter | ||
|
Writes a new record to the log file.
| LogWriter | ||
| LogWriter | () | constructor |
public function LogWriter(file:File, sizeLimit:uint)Constructor function of LogWriter class
Parametersfile:File — A File reference of the log file
|
|
sizeLimit:uint — Number of kb beyond which the file will be archived by BackupManager
|
| write | () | method |
public function write(record:LogRecord):voidWrites a new record to the log file. If file size exceed the limit it is automatically archived and a new one created
Parametersrecord:LogRecord — A LogRecord object representing the new line to write
|