Ejemplo n.º 1
0
        /// <summary>
        /// メソッド終了
        /// </summary>
        /// <param name="strMessage"></param>
        public void WriteMethodEnd(string strMessage)
        {
            if (!IsWriteLogCheck(LogLevel.Info))
            {
                return;
            }

            string strLog = LogFormater.FormatLog(LogLevel.Info, strMessage + " END", null);

            Writeln(strLog);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// ログを書き込む
        /// </summary>
        /// <param name="logType"></param>
        /// <param name="strMessage"></param>
        public void Write(LogLevel logType, string strMessage)
        {
            if (!IsWriteLogCheck(logType))
            {
                return;
            }

            string strLog = LogFormater.FormatLog(logType, strMessage, null);

            Writeln(strLog);
        }