Table of Contents

Interface IPostgrestDebugger

Namespace
Supabase.Postgrest.Interfaces
Assembly
Supabase.Postgrest.dll

Interface for getting debug info from Postgrest

public interface IPostgrestDebugger

Methods

AddDebugHandler(DebugEventHandler)

Adds a debug handler

void AddDebugHandler(IPostgrestDebugger.DebugEventHandler handler)

Parameters

handler IPostgrestDebugger.DebugEventHandler

ClearDebugHandlers()

Clears debug handlers

void ClearDebugHandlers()

Log(object?, string, PostgrestException?)

Logs a message

void Log(object? sender, string message, PostgrestException? exception = null)

Parameters

sender object
message string
exception PostgrestException

RemoveDebugHandler(DebugEventHandler)

Removes a debug handler

void RemoveDebugHandler(IPostgrestDebugger.DebugEventHandler handler)

Parameters

handler IPostgrestDebugger.DebugEventHandler