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)); } }
public LogCommand Configure(IRTSession session, String tag, GameSparks.RT.GameSparksRT.LogLevel level, String msg, params object[] formatParams) { this.tag = tag; this.level = level; this.formatParams = formatParams; this.msg = msg; this.session = session; return(this); }