/// <summary> /// Posts a line of text to the log. /// </summary> /// <param name="postType">Type of post to send.</param> /// <param name="text">Text to post.</param> public static void Post(LogPostType postType, string text) { Interops.LogPosting.Post((int)postType, text); }
/// <summary> /// Creates an object that temporarily switches console output level to the different one. /// </summary> /// <param name="tempPostLevel">New console output level.</param> public ConsoleOutputLevel(LogPostType tempPostLevel) { this.originalPostType = ConsoleLogWriter.PostType; ConsoleLogWriter.PostType = tempPostLevel; }