NLog.Config
Namespace with 40 public types
Classes
AdvancedAttribute
Marks the class or a member as advanced. Advanced classes and members are hidden by
default in generated documentation.
AppDomainFixedOutputAttribute
Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
ArrayParameterAttribute
Used to mark configurable parameters which are arrays.
Specifies the mapping between XML elements and .NET types.
ConfigSectionHandler
Represents NLog ConfigSection for loading from app.config / web.config
ConfigurationItemFactory
Provides registration information for named items (targets, layouts, layout renderers, etc.)
Supports creating item-instance from their type-alias, when parsing NLog configuration
DefaultParameterAttribute
Attribute used to mark the default parameters for layout renderers.
InstallationContext
Provides context for install/uninstall operations.
LoggingConfiguration
Keeps logging configuration and provides simple API to modify it.
LoggingConfigurationChangedEventArgs
Arguments for events.
LoggingRule
Represents a logging rule. An equivalent of <logger /> configuration element.
MutableUnsafeAttribute
Obsolete and replaced by with NLog v5.3.
Marks the layout or layout renderer depends on mutable objects from the LogEvent
This can be or
NLogConfigurationIgnorePropertyAttribute
Indicates NLog should not scan this property during configuration.
NLogConfigurationItemAttribute
Marks the object as configuration item for NLog.
NLogDependencyResolveException
Failed to resolve the interface of service type
RequiredParameterAttribute
Attribute used to mark the required parameters for targets,
layout targets and filters.
ServiceRepositoryUpdateEventArgs
Registered service type in the service repository
ThreadAgnosticAttribute
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.
ThreadAgnosticImmutableAttribute
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 or ,
and requires that LogEvent-state is recognized as immutable.
ThreadSafeAttribute
Marks the layout or layout renderer as thread safe - it producing correct results
regardless of the number of threads it's running on.
Without this attribute then the target concurrency will be reduced
XmlLoggingConfiguration
Loads NLog LoggingConfiguration from xml-file
XmlParserException
Exception thrown during XML parsing
Enumerations
ExceptionRenderingFormat
Format of the exception output to the specific target.
StackTraceUsage
Value indicating how stack trace should be captured when processing the log event.
Static Classes
SimpleConfigurator
Obsolete and replaced by with NLog v5.2.
Provides simple programmatic configuration API used for trivial logging cases.
Warning, these methods will overwrite the current config.
Abstract Classes
LoggingConfigurationParser
Loads NLog configuration from
NameBaseAttribute
Attaches a type-alias for an item (such as ,
, , etc.).
ServiceRepository
Interface to register available configuration objects type
Interfaces
IFactory`1
Factory of named items (such as , , , etc.).
IInstallable
Implemented by objects which support installation and uninstallation.
ILoggingConfigurationElement
Interface for accessing configuration details
IPropertyTypeConverter
Convert object-value into specified type
ISetupBuilder
Interface for fluent setup of LogFactory options
ISetupConfigurationLoggingRuleBuilder
Interface for fluent setup of LoggingRules for LoggingConfiguration
ISetupConfigurationTargetBuilder
Interface for fluent setup of target for LoggingRule
ISetupExtensionsBuilder
Interface for fluent setup of LogFactory options for extension loading
ISetupInternalLoggerBuilder
Interface for fluent setup of LogFactory options for enabling NLog
ISetupLoadConfigurationBuilder
Interface for fluent setup of LoggingConfiguration for LogFactory
ISetupLogFactoryBuilder
Interface for fluent setup of LogFactory options
ISetupSerializationBuilder
Interface for fluent setup of LogFactory options for logevent serialization
IUsesStackTrace
Allows components to request stack trace information to be provided in the .