| 1234567891011121314151617181920212223 | 
							- using FreeRedis;
 
- namespace WCS.Core
 
- {
 
-     public class DebugPublisher
 
-     {
 
-         private static RedisClient Redis;
 
-         static DebugPublisher()
 
-         {
 
-             Redis = new RedisClient(Configs.DebugRedisUrl);
 
-         }
 
-         public static void Publish(string channel, string msg)
 
-         {
 
-             try
 
-             {
 
-                 Redis.Publish(channel, msg);
 
-             }
 
-             catch { }
 
-         }
 
-     }
 
- }
 
 
  |