Table of Contents

Interface IXpingLogger

Namespace
Xping.Sdk.Core.Diagnostics
Assembly
Xping.Sdk.Core.dll

Logger interface for Xping SDK diagnostics. Implementations should be thread-safe as they may be called concurrently.

public interface IXpingLogger

Methods

IsEnabled(XpingLogLevel)

Determines whether logging is enabled for the specified level.

bool IsEnabled(XpingLogLevel level)

Parameters

level XpingLogLevel

The log level to check.

Returns

bool

True if logging is enabled for the specified level; otherwise, false.

LogDebug(string)

Logs a debug message. These provide detailed diagnostic information for troubleshooting.

void LogDebug(string message)

Parameters

message string

The debug message to log.

LogError(string)

Logs an error message. These indicate failures that prevent the SDK from functioning correctly.

void LogError(string message)

Parameters

message string

The error message to log.

LogInfo(string)

Logs an informational message. These provide general status updates about SDK operations.

void LogInfo(string message)

Parameters

message string

The informational message to log.

LogWarning(string)

Logs a warning message. These indicate potential issues that don't prevent operation but may need attention.

void LogWarning(string message)

Parameters

message string

The warning message to log.