Example #1
0
 protected override void Write(MvxLogLevel logLevel, string message, Exception e = null)
 {
     try
     {
         var formatted = TestLogProvider.MessageFormatter(_name, logLevel, message, e);
         _testOuputHelper.WriteLine(formatted);
     }
     catch (InvalidOperationException)
     {
         // not ready to log yet, usually happens before test actually started
         // however, MvvmCross is already setting up things in fixture and logging
     }
 }