RolloverLog() 공개 메소드

Archives a log file
public RolloverLog ( string channel ) : bool
channel string the log file to archive
리턴 bool
예제 #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);
        }
예제 #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));
        }
예제 #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);
        }
예제 #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));
        }