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
objectmessage
stringexception
PostgrestException
RemoveDebugHandler(DebugEventHandler)
Removes a debug handler
void RemoveDebugHandler(IPostgrestDebugger.DebugEventHandler handler)
Parameters
handler
IPostgrestDebugger.DebugEventHandler