Does operations on the log file.
Methods and properties
Method Log ( message As String, Optional level As LogLevels = ALL )
- Writes information to the log file.
But it is ignored if
levelis below the level set with
LogLevel. The information includes the supplied message, the source file name, the line number, and the nearest named scope.
Property Level As LogLevels
- Gets or sets the minimum risk level to record information to the log.
Values for level include
FATAL. Calls to the method
Logthat are below the given level do not record information to the log.
#Log is always available to use in your programs.
This is different from the log file methods supplied by
#Debug is ignored by the compiler unless you make a debug build.
You can make a maximum of five levels to log special conditions.
LogLevels lets you use