public static void Error(this IJarvisLog log, Exception exception, string message) { log?.WriteError(exception, $"{message}"); }
public static void Error(this IJarvisLog log, Exception exception, FormattableString message) { log?.WriteError(exception, message); }
public void WriteError(Exception exception, FormattableString message) { _log.WriteError(exception, $"[{_name}] {message.ToString(CultureInfo.InvariantCulture)}"); }