Exemple #1
0
        static void LogResponse(Handler.Response response, ILog log)
        {
            if (response.AsyncLog.Entries.Count() > 0)
            {
                log.Write("Log entries written before this Amnesia command:");
                foreach (string entry in response.AsyncLog.Entries)
                {
                    log.Write(entry);
                }
            }

            foreach (string entry in response.Log.Entries)
            {
                log.Write(entry);
            }
        }
Exemple #2
0
 void LogResponse(Handler.Response response)
 {
     LogResponse(response, log);
 }