RolloverLog() public method

Archives a log file
public RolloverLog ( string channel ) : bool
channel string the log file to archive
return bool
Ejemplo n.º 1
0
        /// <summary>
        /// Archives a log file
        /// </summary>
        /// <param name="channel">the log file to archive</param>
        /// <returns>success status</returns>
        public static bool RolloverLog(string channel)
        {
            var logger = new Logger();

            return logger.RolloverLog(channel);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Archives a log file
        /// </summary>
        /// <param name="channel">the log file to archive</param>
        /// <returns>success status</returns>
        public static bool RolloverLog(string channel)
        {
            Logger logger = new Logger();

            return(logger.RolloverLog(channel));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Archives a log file
        /// </summary>
        /// <param name="channel">the log file to archive</param>
        /// <returns>success status</returns>
        public static bool RolloverLog(string channel)
        {
            var logger = new Logger(WebConfigurationManager.AppSettings["LogPath"]);

            return logger.RolloverLog(channel);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Archives a log file
        /// </summary>
        /// <param name="channel">the log file to archive</param>
        /// <returns>success status</returns>
        public static bool RolloverLog(string channel)
        {
            var logger = new Logger(WebConfigurationManager.AppSettings["LogPath"]);

            return(logger.RolloverLog(channel));
        }