FileReactor constructor.
Namespace:
IBM.Watson.DeveloperCloud.Logging
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax public FileReactor(
string logFile,
LogLevel level = LogLevel.DEBUG,
int logHistory = 2,
int maxLogSize = 1048576
)
Parameters
- logFile
- Type: SystemString
The FileName of the log file. - level (Optional)
- Type: IBM.Watson.DeveloperCloud.LoggingLogLevel
The minimum level of log messages to be logged into the file. - logHistory (Optional)
- Type: SystemInt32
How many log files to keep as they are rotated each time this reactor is constructed. - maxLogSize (Optional)
- Type: SystemInt32
[Missing <param name="maxLogSize"/> documentation for "M:IBM.Watson.DeveloperCloud.Logging.FileReactor.#ctor(System.String,IBM.Watson.DeveloperCloud.Logging.LogLevel,System.Int32,System.Int32)"]
See Also