Namespace: ITHit.WebDAV.Client.Logger
The FileLogger type exposes the following members.
Name | Description | |
---|---|---|
FileSize |
Gets and sets maximum log file size in bytes.
| |
Level |
Gets and sets how much information is written to log file.
| |
LogFile |
Gets and sets log file name and path.
| |
MaxBackups |
Gets and sets Maximum number of log file backups.
| |
XmlFormatting |
Gets and sets possibility to format xml when writing it down to log file
|
Name | Description | |
---|---|---|
WriteMessage(String) |
Writs a message to a log file with level Info.
| |
WriteMessage(String, LogLevel) |
Writs a message to a log file with a specified log level.
|
By default the log file is created in the folder where the calling assembly resides. You can specify the folder and file name setting LogFile property. Amount of output and maximum file size are controlled via Level and FileSize properties.