Open sandboxFocus

Namespace Flashtrace.Messages

Classes

FormattedMessageBuilder

Creates messages based on a human-readable formatted string. These messages are suitable for structured logging are not optimal for machine analysis. For more succinct code, consider including the using static Flashtrace.FormattedMessageBuilder statement.

InvalidFormattingStringException

Exception thrown by the FormattingStringParser and by the Logger class when user code provides an invalid formatting string.

SemanticMessageBuilder

Creates semantic messages composed of a message name and a list of properties given as name-value pairs. These messages are ideal for machine analysis. For more succinct code, consider including the using static Flashtrace.SemanticMessageBuilder statement.

Structs

FormattedMessage

Encapsulates a formatted message without parameter. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessageArray

Encapsulates a formatted message with an arbitrary number of parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1>

Encapsulates a text message with 1 parameter. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Encapsulates a text message with 10 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2>

Encapsulates a text message with 2 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3>

Encapsulates a text message with 3 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4>

Encapsulates a text message with 4 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4, T5>

Encapsulates a text message with 5 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4, T5, T6>

Encapsulates a text message with 6 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4, T5, T6, T7>

Encapsulates a text message with 7 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8>

Encapsulates a text message with 8 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

FormattedMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9>

Encapsulates a text message with 9 parameters. Use the FormattedMessageBuilder class to create an instance of this type.

SemanticMessage

Encapsulates a semantic message without parameter. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessageArray

Encapsulates a semantic message with an arbitrary number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1>

Encapsulates a semantic message with a 1 number of parameter. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Encapsulates a semantic message with a 10 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2>

Encapsulates a semantic message with a 2 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3>

Encapsulates a semantic message with a 3 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4>

Encapsulates a semantic message with a 4 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4, T5>

Encapsulates a semantic message with a 5 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4, T5, T6>

Encapsulates a semantic message with a 6 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4, T5, T6, T7>

Encapsulates a semantic message with a 7 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8>

Encapsulates a semantic message with a 8 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

SemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9>

Encapsulates a semantic message with a 9 number of parameters. Use the SemanticMessageBuilder class to create an instance of this type.

Interfaces

IMessage

Represents a message that can be used with the FlashtraceSource class. To create a message instance, you would typically use the SemanticMessageBuilder or FormattedMessageBuilder class.