WriteToLog() public method

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
return void
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }