コード例 #1
0
        public static void WriteToFile(string methodName, string folder, Exception exception)
        {
            string        ex  = GetExceptionDetail(methodName, exception);
            AsynLogHelper log = new AsynLogHelper(path + "log/" + folder + "/");

            log.WriteEntry(methodName, ex);
        }
コード例 #2
0
        public static void WriteException(string methodName, Exception exception, object requestParam)
        {
            string        ex  = GetExceptionDetail(methodName, exception, JsonHelper.ReBuilder(requestParam));
            AsynLogHelper log = new AsynLogHelper(path + "log/exception/");

            log.WriteEntry(methodName, ex);
        }
コード例 #3
0
        public static void WriteToFile(string methodName, string module, string message)
        {
            AsynLogHelper log = new AsynLogHelper(path + "log/" + module + "/");

            log.WriteEntry(methodName, message);
        }