コード例 #1
0
            public static void Insert(string x)
            {
                string         act_name = "Syslog\\Act_log" + DateTime.Now.Date.ToString("yyyy-MM-dd") + ".txt";
                LogWriterInner flog     = new LogWriterInner();

                flog.Write2File(x, act_name);
            }
コード例 #2
0
            public static void Insert(string x)
            {
                string         err_name = @$ "Syslog\\Err_log-{DateTime.Now.Date.ToString(" yyyy - MM - dd ")}.txt";
                LogWriterInner flog     = new LogWriterInner();

                flog.Write2File(Environment.NewLine + x, err_name);
            }