[][src]Enum pgx::log::PgLogLevel

pub enum PgLogLevel {
    DEBUG5,
    DEBUG4,
    DEBUG3,
    DEBUG2,
    DEBUG1,
    LOG,
    LOG_SERVER_ONLY,
    INFO,
    NOTICE,
    WARNING,
    ERROR,
    FATAL,
    PANIC,
}

Postgres' various logging levels

Variants

DEBUG5

Debugging messages, in categories of decreasing detail

DEBUG4

Debugging messages, in categories of decreasing detail

DEBUG3

Debugging messages, in categories of decreasing detail

DEBUG2

Debugging messages, in categories of decreasing detail

DEBUG1

Debugging messages, in categories of decreasing detail NOTE: used by GUC debug_* variables

LOG

Server operational messages; sent only to server log by default.

LOG_SERVER_ONLY

Same as LOG for server reporting, but never sent to client.

INFO

Messages specifically requested by user (eg VACUUM VERBOSE output); always sent to client regardless of client_min_messages, but by default not sent to server log.

NOTICE

Helpful messages to users about query operation; sent to client and not to server log by default.

WARNING

Warnings. [NOTICE] is for expected messages like implicit sequence creation by SERIAL. [WARNING] is for unexpected messages.

ERROR

user error - abort transaction; return to known state

FATAL

fatal error - abort process

PANIC

take down the other backends with me

Trait Implementations

impl Clone for PgLogLevel[src]

impl Copy for PgLogLevel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,