MprLogToFile Class ReferenceInheritance diagram for MprLogToFile: Detailed DescriptionLog MPR messages to a file.MprLogToFile is the default listener for log messages in the MPR. It will log trace at the desired level and automatically rotate log files when full. The log file specification passed to setLogSpec() contains the:
fileName[[,moduleName]...][:level][.maxSize]
Module names (if specified) are internal MPR names such as socket. This allows you to log trace from only designated modules. The level must be between 0 and 9 with 9 being the most verbose. A good normal level is 2. The maxSize specification is the size of the logfile in MB before rotating. When rotated, the old file will have a ".old" appended.
Member Function Documentation
The documentation for this class was generated from the following files: |