Class FileLogger
A class that controls the file logging facility of Couchbase Lite
Inheritance
System.Object
FileLogger
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Logging
Assembly: Couchbase.Lite.dll
Syntax
public sealed class FileLogger : ILogger
Constructors
| Improve this Doc View SourceFileLogger()
Default Constructor
Declaration
public FileLogger()
Properties
| Improve this Doc View SourceConfig
Gets or sets the configuration currently in use on the file logger. Note that once it is set, it can no longer be modified and doing so will throw an exception.
Declaration
public LogFileConfiguration Config { get; set; }
Property Value
Type | Description |
---|---|
LogFileConfiguration |
Level
Gets or sets the max level to log. The set level and all
levels under it will be logged (i.e. Error
will log
only errors but Warning
will log warnings and errors)
Declaration
public LogLevel Level { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |
Methods
| Improve this Doc View SourceLog(LogLevel, LogDomain, String)
Declaration
public void Log(LogLevel level, LogDomain domain, string message)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | |
LogDomain | domain | |
System.String | message |