public DJobLogger() { LogToFile = true; LogToDatabase = true; LogToConsole = true; LogTypeMessage = true; LogTypeWarning = true; LogTypeError = true; LogMsgToFile = new DLogToFile(); LogMsgToDataBase = new DLogToDataBase(); LogMsgToConsole = new DLogToConsole(); }
public DJobLogger(bool pLogToFile, bool pLogToDatabase, bool pLogToConsole, bool pLogTypeMessage, bool pLogTypeWarning, bool pLogTypeError) { LogToFile = pLogToFile; LogToDatabase = pLogToDatabase; LogToConsole = pLogToConsole; LogTypeMessage = pLogTypeMessage; LogTypeWarning = pLogTypeWarning; LogTypeError = pLogTypeError; LogMsgToFile = new DLogToFile(); LogMsgToDataBase = new DLogToDataBase(); LogMsgToConsole = new DLogToConsole(); }