Beispiel #1
0
 public static void Use()
 {
     FlashLogger.Debug("Debug");
     FlashLogger.Debug("Debug", new Exception("testexception"));
     FlashLogger.Info("Info");
     FlashLogger.Fatal("Fatal");
     FlashLogger.Error("Error");
     FlashLogger.Warn("Warn", new Exception("testexception"));
 }
Beispiel #2
0
        protected void Application_Start()
        {
            //AreaRegistration.RegisterAllAreas();
            //FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            //RouteConfig.RegisterRoutes(RouteTable.Routes);
            //BundleConfig.RegisterBundles(BundleTable.Bundles);

            FlashLogger.Instance().Register();
        }