Example #1
0
        /// <summary>
        /// Gets a string that describes the given <see cref="IfxTracingLevel"/>.
        /// </summary>
        /// <param name="level">The given <see cref="IfxTracingLevel"/> value</param>
        /// <returns>A string that describes the given value</returns>
        private static string GetTracingLevelName(IfxTracingLevel level)
        {
            switch (level)
            {
            case IfxTracingLevel.Critical: return("critical");

            case IfxTracingLevel.Error: return("error");

            case IfxTracingLevel.Warning: return("warning");

            case IfxTracingLevel.Informational: return("information");

            default: return("verbose");
            }
        }
Example #2
0
 public static void LogMessage(IfxTracingLevel level, string source, string message)
 {
 }