.NET Helper Packages
C#
Show/Hide TOC
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#
Copy
public
Logger
(
string
configFile
= "" )
Parameters
configFile
String
(Optional)
Logging configuration file name to use.
Exceptions
NLog.NLogConfigurationException
Thrown if the NLog configuration is invalid.
TargetException
Thrown when an attempt is made to invoke an invalid target.
See Also
Reference
Logger Class
Logger Overload
Logging.Helper Namespace
In This Article
Definition
Exceptions
See Also