Interface INonGenericLogger
Interface for a logger that does not use a generic state type.
Namespace: Tableau.Migration.Interop.Logging
Assembly: Tableau.Migration.dll
Syntax
public interface INonGenericLogger
Methods
Log(LogLevel, EventId, string, Exception?, string)
Writes a log entry with a pre-formatted state object.
Declaration
void Log(LogLevel logLevel, EventId eventId, string state, Exception? exception, string message)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | logLevel | Entry will be written on this level. |
EventId | eventId | Id of the event. |
string | state | The pre-formatted entry to be written. |
Exception | exception | The exception related to this entry. |
string | message | The pre-formatted message to write. |