GetLogger() public static method

This will return the type of logger based on logType
public static GetLogger ( LogTypes logType ) : ILogger
logType LogTypes
return ILogger
Ejemplo n.º 1
0
 /// -------------------------------------------------------------------
 /// <summary>
 /// Loads a logger DLL binary that impements WUIALogging interface.
 /// </summary>
 /// <param name="filename">Filename with path</param>
 /// -------------------------------------------------------------------
 public static void SetLogger(string filename)
 {
     SetLogger(GenericLogger.GetLogger(filename));
 }
Ejemplo n.º 2
0
 /// -------------------------------------------------------------------
 /// <summary>
 /// Loads a logger DLL binary that impements WUIALogging interface.
 /// If you specify the LogTypes.DefaultLogger, then WttLogger
 /// will be loaded if the executable has INTERNAL in the name, else
 /// PIper logger will be loaded
 /// </summary>
 /// <param name="filename">Filename with path</param>
 /// -------------------------------------------------------------------
 static private ILogger SetLoggerType(string filename)
 {
     _ILogger = GenericLogger.GetLogger(filename);
     return(_ILogger);
 }