Flashtrace.Records Namespace
Classes
LogEventData
Specifies the properties of a log event (such as a message, an activity opening or an activity closing). Properties are typically passed in user code as an instance of an anonymous type. Any object can be provided. The properties of the message then stem from the properties of the CLR object. To change the logic that maps the CLR object to the list of property, you can specify a LogEventMetadata.
LogEventMetadata
Defines how the raw CLR object stored in a LogEventData is translated into a set of visitable properties and an expression that is accessible from the transaction policy expressions.
LogEventMetadata<TExpressionModel>
A specialization of LogEventMetadata that specifies the type of the expression model type, i.e. the type exposed to transaction policy expressions.
LoggingPropertiesExpressionModel
Type of the t
parameters for if
and sample
expressions in the policy configuration file.
LoggingProperty
Represents a property (a name, a value and a few options).
LoggingPropertyOptions
Specifies the behavior of logging properties (exposed by LogEventData), such as IsRendered, IsInherited or IsBaggage.
LoggingPropertyOptionsAttribute
Specifies the options (LoggingPropertyOptions) of a logging property that is expresses as a public property of a CLR type.
LoggingPropertyVisitorOptions
Determines the behavior of the VisitProperties<TVisitorState>(ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions) method.
LogParameterMode
Determines how a parameter of a log record should be rendered. method.
LogParameterOptions
Options of the WriteParameter<T>(Int32, in ReadOnlySpan<Char>, T, in LogParameterOptions) method.
LogRecordAttributes
Attributes of the LogParameterOptions class. Describes how the ILogRecordBuilder will be used.
LogRecordItem
Enumerates the scenarios in which an IMessage can be rendered.
LogRecordKind
Kinds of log entry.
LogRecordKindExtensions
Extensions to the LogRecordKind enum.
LogRecordOptions
Options of the GetRecordBuilder(in LogRecordOptions, in CallerInfo, ILoggingContext) method.
LogRecordTextOptions
Options of the BeginWriteItem(LogRecordItem, in LogRecordTextOptions) method.
Interfaces
ILoggingPropertyVisitor<TState>
Defines a visit method invoked for each property of a LogEventData.
ILogRecordBuilder
Allows to build a log record (typically, but not necessarily, a string). A log record can be composed of one of several items.