Table of Contents

Interface IExceptionSanitizer

Namespace
AnyProtocol.Logging.Abstraction
Assembly
AnyProtocol.Logging.Abstraction.dll

Produces logging-safe exception metadata without retaining exception content.

public interface IExceptionSanitizer

Methods

Sanitize(Exception, ExceptionLoggingMode)

Creates safe exception metadata for the selected logging mode.

SanitizedException Sanitize(Exception exception, ExceptionLoggingMode mode)

Parameters

exception Exception
mode ExceptionLoggingMode

Returns

SanitizedException