public static void Fatal(object message) { switch (LogEngineType) { case LogEngineTypeEnum.DefaultLogger: DefaultLogger.Fatal(message); break; case LogEngineTypeEnum.FlashLogger: FlashLogger.Fatal(message); break; } }
public void Fatal_RandomString_Void() { // arrange. var test = new DefaultLogger(); // act. test.Fatal("yay", this); // assert. Assert.IsNotNull(test); }