namespace RudderSdk.Core.Abstractions;
/// Severity of an SDK log message.
public enum RudderLogLevel
{
/// Verbose diagnostics.
Debug,
/// Normal operational messages.
Info,
/// Recoverable problems worth investigating.
Warning,
/// Failures that broke an operation.
Error
}
/// Optional sink for SDK diagnostics. Null by default (silent).
public interface IRudderLogger
{
/// Writes one message at the given severity.
void Log(RudderLogLevel level, string message);
}