Logger(String) Constructor

Initializes a new instance of the Logger class using an optional configuration file name.

Definition

Namespace: Logging.Helper
Assembly: Logging.Helper (in Logging.Helper.dll) Version: 2.0.6
C#
public Logger(
	string configFile = ""
)

Parameters

configFile  String  (Optional)
Logging configuration file name to use.

Exceptions

NLog.NLogConfigurationExceptionThrown if the NLog configuration is invalid.
TargetExceptionThrown when an attempt is made to invoke an invalid target.

See Also