Click or drag to resize

NLog.Config Namespace

Reading XML/API config
Classes
  ClassDescription
Public classAdvancedAttribute Obsolete.
Marks the class or a member as advanced. Advanced classes and members are hidden by default in generated documentation.
Public classAppDomainFixedOutputAttribute
Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
Public classArrayParameterAttribute
Used to mark configurable parameters which are arrays. Specifies the mapping between XML elements and .NET types.
Public classAssemblyLoadingEventArgs Obsolete.
Obsolete since dynamic assembly loading is not compatible with publish as trimmed application. Event notification about trying to load assembly with NLog extensions.
Public classConfigSectionHandler
Represents NLog ConfigSection for loading XmlLoggingConfiguration from app.config / web.config
Public classConfigurationItemFactory
Provides registration information for named items (targets, layouts, layout renderers, etc.) Supports creating item-instance from their type-alias, when parsing NLog configuration
Public classDefaultParameterAttribute
Attribute used to mark the default parameters for layout renderers.
Public classInstallationContext
Provides context for install/uninstall operations.
Public classLoggingConfiguration
Keeps logging configuration and provides simple API to modify it.
Public classLoggingConfigurationChangedEventArgs
Arguments for ConfigurationChanged events.
Public classLoggingConfigurationParser
Loads NLog configuration from ILoggingConfigurationElement
Public classLoggingRule
Represents a logging rule. An equivalent of <logger /> configuration element.
Public classNameBaseAttribute
Attaches a type-alias for an item (such as Target, LayoutRenderer, Layout, etc.).
Public classNLogConfigurationIgnorePropertyAttribute
Indicates NLog should not scan this property during configuration.
Public classNLogConfigurationItemAttribute
Marks the object as configuration item for NLog.
Public classNLogDependencyResolveException
Failed to resolve the interface of service type
Public classRequiredParameterAttribute
Attribute used to mark the required parameters for targets, layout targets and filters.
Public classServiceRepository
Interface to register available configuration objects type
Public classServiceRepositoryUpdateEventArgs
Registered service type in the service repository
Public classThreadAgnosticAttribute
Marks the layout or layout renderer as thread independent - it producing correct results regardless of the thread it's running on. Without this attribute everything is rendered on the main thread.
Public classThreadAgnosticImmutableAttribute
Marks the layout or layout renderer as thread independent - it producing correct results regardless of the thread it's running on. Layout or layout-renderer depends on Properties or Exception, and requires that LogEvent-state is recognized as immutable.
Public classXmlLoggingConfiguration
A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). Parsing of the XML file is also implemented in this class.
Interfaces
  InterfaceDescription
Public interfaceIFactoryTBaseType
Factory of named items (such as Target, Layout, LayoutRenderer, etc.).
Public interfaceIInstallable
Implemented by objects which support installation and uninstallation.
Public interfaceILoggingConfigurationElement
Interface for accessing configuration details
Public interfaceIPropertyTypeConverter
Convert object-value into specified type
Public interfaceISetupBuilder
Interface for fluent setup of LogFactory options
Public interfaceISetupConfigurationLoggingRuleBuilder
Interface for fluent setup of LoggingRules for LoggingConfiguration
Public interfaceISetupConfigurationTargetBuilder
Interface for fluent setup of target for LoggingRule
Public interfaceISetupExtensionsBuilder
Interface for fluent setup of LogFactory options for extension loading
Public interfaceISetupInternalLoggerBuilder
Interface for fluent setup of LogFactory options for enabling NLog InternalLogger
Public interfaceISetupLoadConfigurationBuilder
Interface for fluent setup of LoggingConfiguration for LogFactory
Public interfaceISetupLogFactoryBuilder
Interface for fluent setup of LogFactory options
Public interfaceISetupSerializationBuilder
Interface for fluent setup of LogFactory options for logevent serialization
Public interfaceIUsesStackTrace
Allows components to request stack trace information to be provided in the LogEventInfo.
Delegates
  DelegateDescription
Public delegateConfigurationItemCreator Obsolete.
Obsolete since dynamic tyope loading is not compatible with publish as trimmed application. Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.
Enumerations
  EnumerationDescription
Public enumerationExceptionRenderingFormat
Format of the exception output to the specific target.
Public enumerationStackTraceUsage
Value indicating how stack trace should be captured when processing the log event.