Ejemplo n.º 1
0
        public static void InitLog(Type type)
        {
            _infoLog  = LogManager.GetLogger("InfoLogger");
            _errorLog = LogManager.GetLogger("ErrorLogger");

            Logger.type = type;

            InfoLogContext.Info($"Create instance of {type}");
        }
Ejemplo n.º 2
0
 public static void SqlInfo(string message) => InfoLogContext.Info($"[SQL] {message}");