public static void Log(this ExceptionlessClient client, string logMessage, string source = null, LogLevels level = LogLevels.Info) { if (client.LoggingEnabled()) { client.CreateLog(source, logMessage, level.Text()).Submit(); } }
public static void LogWithTags(this ExceptionlessClient client, string logMessage, string[] tags, string source = null, LogLevels level = LogLevels.Info) { if (client.LoggingEnabled()) client.CreateLog(source, logMessage, level.Text()) .AddTags(tags) .Submit(); }