コード例 #1
0
 public void Log(String tag, GameSparks.RT.GameSparksRT.LogLevel level, String msg, params object[] formatParams)
 {
     if (GameSparksRT.ShouldLog(tag, level))
     {
         SubmitAction(LogCommand.pool.Pop().Configure(this, tag, level, msg, formatParams));
     }
 }
コード例 #2
0
 public void Execute()
 {
     try{
         if (GameSparksRT.ShouldLog(tag, level))
         {
             GameSparksRT.Logger(session.PeerId + " " + tag + ":" + String.Format(msg, formatParams));
         }
     }finally {
         pool.Push(this);
     }
 }