Show / Hide Table of Contents

Class FileLogger

A class that controls the file logging facility of Couchbase Lite

Inheritance
System.Object
FileLogger
Implements
ILogger
Namespace: Couchbase.Lite.Logging
Assembly: Couchbase.Lite.dll
Syntax
public sealed class FileLogger : object, ILogger

Constructors

| Improve this Doc View Source

FileLogger()

Default Constructor

Declaration
public FileLogger()

Properties

| Improve this Doc View Source

Config

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
| Improve this Doc View Source

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 Source

Log(LogLevel, LogDomain, String)

Performs the actual logging to the log storage

Declaration
public void Log(LogLevel level, LogDomain domain, string message)
Parameters
Type Name Description
LogLevel level

The level of the message being logged

LogDomain domain

The domain of the message being logged

System.String message

The content of the message being logged

Implements

ILogger
  • Improve this Doc
  • View Source
Back to top Generated by DocFX