예제 #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;
     }
 }
예제 #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);
     }
 }