API reference
API reference
Select your platform
No SDKs available
No versions available

ICoreLogger Interface

A common interface to core logging functionality

Properties

The correlation ID allows the tracing of an operation from beginning to end. It can be linked to other IDs to form a full chain when it branches out or moves to other domains. If not supplied explicitly while logging, it will be inherited from the thread storage or a new one will be generated if none exist.

Member Functions

Logs a verbose message.
Parameters
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs a verbose message.
Parameters
correlationId
The correlation ID.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs an info message.
Parameters
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs an info message.
Parameters
correlationId
The correlation ID.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs a debug message.
Parameters
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs a debug message.
Parameters
correlationId
The correlation ID.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs a warning message.
Parameters
correlationId
The correlation ID.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs a warning message.
Parameters
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs an error with an exception.
Parameters
correlationId
The correlation ID.
errorCode
The error code.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs an error with an exception.
Parameters
errorCode
The error code.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs an error with an exception.
Parameters
correlationId
The correlation ID.
exception
The exception to log
errorCode
The error code.
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Logs an error with an exception.
Parameters
errorCode
The error code.
exception
The exception to log
message
The message as a format string (e.g "My value is: {0}).</param> <param name="parameters">The parameters.
Returns a logging scope to be used in a "using" block.
Parameters
verbosity
The verbosity of the logging.
message
The message to log.
parameters
The parameter
Returns
The scope.
Returns a logging scope to be used in a "using" block.
Parameters
correlationId
The correlation ID to use for the scope.
verbosity
The verbosity of the logging.
message
The message to log.
parameters
The parameter
Returns
The scope.
Explicitly start a scope.
Parameters
correlationId
The correlation ID.
verbosity
The verbosity of the logging.
message
The message to log.
parameters
The parameter
Returns
Explicitly start a scope.
Parameters
verbosity
The verbosity of the logging.
message
The message to log.
parameters
The parameter
Returns
Explicitly end a scope. Must have been started already.
Parameters
sequenceId
Correlates two correlation IDs. This is used to indicate nesting, branching, or exchanges. The purpose is to allow a complete trail up to the source when needed.
Parameters
newCorrelationId
The source correlation ID (eg. child operation).
rootCorrelationId
The target correlation ID (eg. root operation).
Logs a message.
Parameters
correlationId
The correlation ID.
verbosity
The verbosity of the logging.
message
The message to log.
parameters
The parameter
void Log
( CorrelationID correlationId,
VLoggerVerbosity verbosity,
Exception exception,
ErrorCode errorCode,
string message,
params object [] parameters )
void Log
( CorrelationID correlationId,
VLoggerVerbosity verbosity,
ErrorCode errorCode,
string message,
params object [] parameters )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon