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