private static FeatherLogger CreateFeatherLogger() { try { var returnLogger = new FeatherLogger( logMode: FeatherLoggerMode, traceLevel: FeatherLoggerTraceLevel, folderName: FolderName, filename: "Nightingale", hasTimestampInFilename: true, extension: "xml"); return(returnLogger); } catch (Exception ex) { _logger.Error(ex); // not Logger! You wouldn't want recursion throw; } }
public MainForm() { InitializeComponent(); _logger = GlobalObjects.Logger; _logger.OpenSection("MainForm"); }
public DatabaseCopier(FeatherLogger logger) { _logger = logger; }
public DatabaseCreator(FeatherLogger logger) { _logger = logger; }