/// <summary> /// Adds the <paramref name="obj"/> given to the log. /// </summary> /// <param name="obj">Object, which string representation should be logged.</param> public static void Trace(object obj) { #if DEBUG Tracing.Trace(obj != null ? obj.ToString() : string.Empty, null); #endif }
/// <summary> /// Logs the <paramref name="message"/> given. /// </summary> /// <param name="message">Message to be logged.</param> public static void Trace(string message) { #if DEBUG Tracing.Trace(message, null); #endif }