Esempio n. 1
0
 public DJobLogger()
 {
     LogToFile        = true;
     LogToDatabase    = true;
     LogToConsole     = true;
     LogTypeMessage   = true;
     LogTypeWarning   = true;
     LogTypeError     = true;
     LogMsgToFile     = new DLogToFile();
     LogMsgToDataBase = new DLogToDataBase();
     LogMsgToConsole  = new DLogToConsole();
 }
Esempio n. 2
0
 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();
 }