/// <summary> /// Immediately write out any queued messages (using the current thread) /// </summary> public static void FlushPendingMessages() { FileLogger.FlushPendingMessages(); }
/// <summary> /// Update the log file's base name (or relative path) /// However, if appendDateToBaseName is false, baseName is the full path to the log file /// </summary> /// <param name="baseName">Base log file name (or relative path)</param> /// <param name="appendDateToBaseName"> /// When true, the actual log file name will have today's date appended to it, in the form mm-dd-yyyy.txt /// When false, the actual log file name will be the base name plus .txt (unless the base name already has an extension) /// </param> /// <remarks>If baseName is null or empty, the log file name will be named DefaultLogFileName</remarks> public static void ChangeLogFileBaseName(string baseName, bool appendDateToBaseName) { FileLogger.ChangeLogFileBaseName(baseName, appendDateToBaseName); }