WriteToLog() 공개 메소드

Write to a log
public WriteToLog ( string content, bool beQuiet = false ) : void
content string the content to log
beQuiet bool Announce it in game or not
리턴 void
예제 #1
0
        /// <summary>
        /// commits content to a log channel
        /// </summary>
        /// <param name="content">the content to log</param>
        /// <param name="channel">which log to append it to</param>
        /// <param name="keepItQuiet">Announce it in game or not</param>
        private static void CommitLog(string content, string channel, bool keepItQuiet)
        {
            var logger = new Logger();

            logger.WriteToLog(content, channel, keepItQuiet);
        }
예제 #2
0
        /// <summary>
        /// commits content to a log channel
        /// </summary>
        /// <param name="content">the content to log</param>
        /// <param name="channel">which log to append it to</param>
        /// <param name="keepItQuiet">Announce it in game or not</param>
        private static void CommitLog(string content, string channel, bool keepItQuiet)
        {
            Logger logger = new Logger();

            logger.WriteToLog(content, channel, keepItQuiet);
        }
예제 #3
0
        /// <summary>
        /// commits content to a log channel
        /// </summary>
        /// <param name="content">the content to log</param>
        /// <param name="channel">which log to append it to</param>
        /// <param name="keepItQuiet">Announce it in game or not</param>
        private static void CommitLog(string content, string channel, bool keepItQuiet)
        {
            var logger = new Logger(WebConfigurationManager.AppSettings["LogPath"]);

            logger.WriteToLog(content, channel, keepItQuiet);
        }
예제 #4
0
        /// <summary>
        /// commits content to a log channel
        /// </summary>
        /// <param name="content">the content to log</param>
        /// <param name="channel">which log to append it to</param>
        /// <param name="keepItQuiet">Announce it in game or not</param>
        private static void CommitLog(string content, string channel, bool keepItQuiet)
        {
            var logger = new Logger(WebConfigurationManager.AppSettings["LogPath"]);

            logger.WriteToLog(content, channel, keepItQuiet);
        }