LegacyOrleansLogger.Log<TState> Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Protokollieren sie eine Nachricht. Aktueller Logger unterstützt legacy-Ereignis-Massenfunktion. Das Feature zum Massenvorgang von Nachrichten protokolliert nur die Ereignis-ID-Codedarstellung, wenn bestimmtes Ereignis mehr als BulkEventLimit in BulkEventInterval
public void Log<TState>(Microsoft.Extensions.Logging.LogLevel logLevel, Microsoft.Extensions.Logging.EventId eventId, TState state, Exception exception, Func<TState,Exception,string> formatter);
abstract member Log : Microsoft.Extensions.Logging.LogLevel * Microsoft.Extensions.Logging.EventId * 'State * Exception * Func<'State, Exception, string> -> unit
override this.Log : Microsoft.Extensions.Logging.LogLevel * Microsoft.Extensions.Logging.EventId * 'State * Exception * Func<'State, Exception, string> -> unit
Public Sub Log(Of TState) (logLevel As LogLevel, eventId As EventId, state As TState, exception As Exception, formatter As Func(Of TState, Exception, String))
Typparameter
- TState
Parameter
- logLevel
- LogLevel
- eventId
- EventId
- state
- TState
- exception
- Exception