Class LogManagerConfiguration

Holds persisted Configuration Management settings that are maintained in the .config file

System.Object
  Westwind.Utilities.Configuration.AppConfiguration
    Westwind.Utilities.Logging.LogManagerConfiguration
public class LogManagerConfiguration : AppConfiguration

Class Members

MemberDescription

Constructor

Initialize the LogManagerConfiguration by reading from configuration section "LogManager"

ConnectionString

The 'connection string' for the LogManager. Can be a ConnectionStrings entry or a full connection string

Current

Static singleton instance of the configuration object that is always accessible

LogAdapter

Determines what type of log is logged to

LogErrors

Determines whether Errors are logged.

This property doesn't actually do anything in the log provider itself, but acts as a configuration setting placeholder that can be used in an application to determine whether you should log Errors

LogFilename

The name of the file or table that holds log data.

For SQL this will be a tablename. For Xml this is a virtual path for the xml log file (~/admin/ApplicationWebLog.xml) In non-web apps a full OS path should be used.

LogWebRequests

Determines whether Web Requests are logged.

This property doesn't actually do anything in the log provider itself, but acts as a configuration setting placeholder that can be used in an application to determine whether you should log each request in a Web application

Requirements

Namespace: Westwind.Utilities.Logging
Assembly: westwind.utilities.dll

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic