コード例 #1
0
ファイル: Commands.cs プロジェクト: Doppelkeks/uGameFramework
        protected void AddLogCommandHandler(AddLogCommand cmd)
        {
#if PERFORMANCE_TEST
            var ptest = Service.Performance.PerformanceTest.Get();
            ptest.Start("AddLogCommand");
#endif
            _service.AddLog(cmd.debugType, cmd.message, cmd.domain);
#if PERFORMANCE_TEST
            // now stop the watches
            ptest.Stop("AddLogCommand");
#endif
        }
コード例 #2
0
 public void Post([FromBody] LogDto log)
 {
     _service.AddLog(log);
 }