Click or drag to resize

FileReactor Class

FileReactor log reactor class.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.LoggingFileReactor

Namespace:  IBM.Watson.DeveloperCloud.Logging
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class FileReactor : ILogReactor

The FileReactor type exposes the following members.

Constructors
  NameDescription
Public methodFileReactor
FileReactor constructor.
Top
Properties
  NameDescription
Public propertyLevel
Minimum level of messages to save into the log file.
Public propertyLogFile
The filename of the log file.
Public propertyLogHistory
How many log files to maintain.
Public propertyLogTextWritten
Gets the log text written to the file system
Public propertyMaxLogSize
Maximum size of a log file before we rotate.
Top
Methods
  NameDescription
Public methodProcessLog
Process a LogRecord object.
Public methodRotateLogs
Top
See Also