public static IKarmaLogger Create(ILogger logger = null, IMessageLogger messageLogger = null) { var karmaLogger = new KarmaLogger(); karmaLogger.AddLogger(logger); karmaLogger.AddLogger(messageLogger); return(karmaLogger); }
public static IKarmaLogger Create(ILogger logger = null, IMessageLogger messageLogger = null) { var karmaLogger = new KarmaLogger(); karmaLogger.AddLogger(logger); karmaLogger.AddLogger(messageLogger); if (Globals.LogToFile) { karmaLogger.AddLogger(Globals.LogFilename); } return karmaLogger; }