Write<T>(in T, in WriteMessageOptions)
Writes a message.
Declaration
public void Write<T>(in T message, in WriteMessageOptions options = default) where T : IMessage
Parameters
Type | Name | Description |
---|---|---|
T | message | The message, typically created using the SemanticMessageBuilder or FormattedMessageBuilder class. |
WriteMessageOptions | options | Options. |
Type Parameters
Name | Description |
---|---|
T | Type of the |
Write<T>(in T, Exception?, in WriteMessageOptions)
Writes a message and specifies an Exception.
Declaration
public void Write<T>(in T message, Exception? exception, in WriteMessageOptions options = default) where T : IMessage
Parameters
Type | Name | Description |
---|---|---|
T | message | The message, typically created using the SemanticMessageBuilder or FormattedMessageBuilder class. |
Exception | exception | An optional Exception. |
WriteMessageOptions | options | Options. |
Type Parameters
Name | Description |
---|---|
T | Type of the |