Skip to content

PgLogLevel

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Selects a PostgreSQL reporting severity, independently of version-specific native numeric values.

public enum PgLogLevel

Reports the least detailed debugging messages.

Debug1 = 4

Reports debugging messages at detail level two.

Debug2 = 3

Reports debugging messages at detail level three.

Debug3 = 2

Reports debugging messages at detail level four.

Debug4 = 1

Reports the most detailed debugging messages.

Debug5 = 0

Throws a catchable PgException; an unhandled exception becomes PostgreSQL ERROR after managed unwinding.

Error = 10

Unwinds managed code, then terminates the backend connection at the native reporting boundary.

Fatal = 11

Reports information to clients regardless of client_min_messages.

Info = 7

Reports server operational messages, routed to the server log by default.

Log = 5

Reports expected events helpful to clients.

Notice = 8

Unwinds managed code, then aborts the backend and triggers PostgreSQL cluster crash recovery.

Panic = 12

Reports operational messages to the server log only, regardless of client settings.

ServerOnly = 6

Reports unexpected events while allowing execution to continue.

Warning = 9