Class SystemConsoleCommunicatorLogger
A communicator logger that prints its message to the Console. It includes a timestamp in yyyy-MM-ddTHH:mm:ss format in the system time zone.
Implements
Inherited Members
Namespace: Ingenico.Connect.Sdk.Logging
Assembly: connect-sdk-dotnet.dll
Syntax
public sealed class SystemConsoleCommunicatorLogger : ICommunicatorLogger
Fields
Instance
Declaration
public static readonly SystemConsoleCommunicatorLogger Instance
Field Value
Type | Description |
---|---|
SystemConsoleCommunicatorLogger |
Methods
Log(string, Exception)
Logs a throwable with an accompanying message.
Declaration
public void Log(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message accompanying the throwable. |
Exception | exception |
Log(string)
Log the specified message.
Declaration
public void Log(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to log. |