public void Log <TState>( Microsoft.Extensions.Logging.LogLevel logLevel , Microsoft.Extensions.Logging.EventId eventId , TState state , System.Exception exception , System.Func <TState, System.Exception, string> formatter) { if (!IsEnabled(logLevel)) { return; } if (formatter == null) { throw new System.ArgumentNullException(nameof(formatter)); } string message = formatter(state, exception); if (string.IsNullOrEmpty(message)) { return; } System.FormattableString fmtString = $"{logLevel}: {message}"; message = fmtString.ToString(System.Globalization.CultureInfo.InvariantCulture); if (exception != null) { message += System.Environment.NewLine + System.Environment.NewLine + exception.ToString(); } SyslogLogLevel syslogLevel = MapToSyslogLevel(logLevel); Send(syslogLevel, message); }
public static string CreateQuery(System.FormattableString filter) { throw null; }
public void DebugWriteLine(System.FormattableString text) { Debug.WriteLine(text.ToString()); }
public virtual Azure.AsyncPageable <Azure.Data.Tables.Models.TableItem> QueryAsync(System.FormattableString filter, int?maxPerPage = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public static string Create(System.FormattableString filter, System.IFormatProvider formatProvider) { throw null; }