Table of Contents

Class LogToFileProvider

Namespace
Dynamicweb.Logging.LogToFile
Assembly
Dynamicweb.Core.dll

Represents Log provider for logging to files

public class LogToFileProvider : ILoggerProvider
Inheritance
LogToFileProvider
Implements
Inherited Members

Constructors

LogToFileProvider()

public LogToFileProvider()

Methods

DisableTracing()

Disables tracing

public void DisableTracing()

EnableTracing()

Enables tracing

public void EnableTracing()

GetLogger(string)

Gets specific logger instance using its name

public ILogger GetLogger(string name)

Parameters

name string

Name as string value

Returns

ILogger

LogToFileLogger object instance

GetLogger(string, string)

Gets specific logger instance using its name and identifier

public ILogger GetLogger(string name, string identifier)

Parameters

name string

Name as string value

identifier string

Identifier as string value

Returns

ILogger

LogToFileLogger object instance

ResetGlobalLogThreshold()

Resets global log threshold

public void ResetGlobalLogThreshold()

SetGlobalLogThreshold(LogLevel)

Sets the global log threshold. Log events below this threshold are not logged.

public void SetGlobalLogThreshold(LogLevel level)

Parameters

level LogLevel

Level of threshold

To top