Esempio n. 1
0
 public static bool Load()
 {
     try
     {
         Instance = new ChatLog("ChatLog.txt");
         return true;
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "Error initializing chatlog: {0}", ex.ToString());
         return false;
     }
 }
Esempio n. 2
0
 public static bool Load()
 {
     try
     {
         Instance = new ChatLog("ChatLog.txt");
         return(true);
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "Error initializing chatlog: {0}", ex.ToString());
         return(false);
     }
 }