 | NLogLoggingConfiguration Constructor (IConfigurationSection, LogFactory) |
Namespace:
NLog.Extensions.Logging
Assembly:
NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 6.0.0+b2556d03163fe4c7b4484f0ca757e7ee6f8c5e4e
Syntaxpublic NLogLoggingConfiguration(
IConfigurationSection nlogConfig,
LogFactory logFactory
)
Public Sub New (
nlogConfig As IConfigurationSection,
logFactory As LogFactory
)
Dim nlogConfig As IConfigurationSection
Dim logFactory As LogFactory
Dim instance As New NLogLoggingConfiguration(nlogConfig,
logFactory)
new :
nlogConfig : IConfigurationSection *
logFactory : LogFactory -> NLogLoggingConfiguration
Parameters
- nlogConfig
- Type: IConfigurationSection
Configuration section to be read - logFactory
- Type: NLogLogFactory
The LogFactory to which to apply any applicable configuration values.
See Also