ExceptionlessSplatLogger.Write(string, LogLevel) method¶
Defined in
Type: ExceptionlessSplatLogger
Namespace: Splat.Exceptionless
Assembly: Splat.Exceptionless.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Overloads¶
- 1.
public void Write(string message, LogLevel logLevel) - 2.
public void Write(Exception exception, string message, LogLevel logLevel) - 3.
public void Write(string message, Type type, LogLevel logLevel) - 4.
public void Write(Exception exception, string message, Type type, LogLevel logLevel)
1. Overload¶
public void Write(string message, LogLevel logLevel)
Inherited documentation
These docs were inherited from ILogger. The member doesn't override them on this type.
Summary: Writes a message to the target.
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The message to write. |
logLevel | [LogLevel](# | The severity level of the log message. |
2. Overload¶
public void Write(Exception exception, string message, LogLevel logLevel)
Inherited documentation
These docs were inherited from ILogger. The member doesn't override them on this type.
Summary: Writes a message to the target.
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception | The exception that occurred. |
message | string | The message to write. |
logLevel | [LogLevel](# | The severity level of the log message. |
3. Overload¶
public void Write(string message, Type type, LogLevel logLevel)
Inherited documentation
These docs were inherited from ILogger. The member doesn't override them on this type.
Summary: Writes a message to the target.
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The message to write. |
type | Type | The type associated with the log message. |
logLevel | [LogLevel](# | The severity level of the log message. |
4. Overload¶
public void Write(Exception exception, string message, Type type, LogLevel logLevel)
Inherited documentation
These docs were inherited from ILogger. The member doesn't override them on this type.
Summary: Writes a message to the target.
Parameters
| Name | Type | Description |
|---|---|---|
exception | Exception | The exception that occurred. |
message | string | The message to write. |
type | Type | The type associated with the log message. |
logLevel | [LogLevel](# | The severity level of the log message. |