Enum pgrx_pg_sys::submodules::elog::PgLogLevel
source · pub enum PgLogLevel {
Show 13 variants
DEBUG5,
DEBUG4,
DEBUG3,
DEBUG2,
DEBUG1,
LOG,
LOG_SERVER_ONLY,
INFO,
NOTICE,
WARNING,
ERROR,
FATAL,
PANIC,
}
Expand description
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§
source§impl Clone for PgLogLevel
impl Clone for PgLogLevel
source§fn clone(&self) -> PgLogLevel
fn clone(&self) -> PgLogLevel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PgLogLevel
impl Debug for PgLogLevel
source§impl From<i32> for PgLogLevel
impl From<i32> for PgLogLevel
source§impl From<isize> for PgLogLevel
impl From<isize> for PgLogLevel
source§impl Ord for PgLogLevel
impl Ord for PgLogLevel
source§fn cmp(&self, other: &PgLogLevel) -> Ordering
fn cmp(&self, other: &PgLogLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
source§impl PartialEq<PgLogLevel> for PgLogLevel
impl PartialEq<PgLogLevel> for PgLogLevel
source§fn eq(&self, other: &PgLogLevel) -> bool
fn eq(&self, other: &PgLogLevel) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PgLogLevel> for PgLogLevel
impl PartialOrd<PgLogLevel> for PgLogLevel
source§fn partial_cmp(&self, other: &PgLogLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &PgLogLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PgLogLevel
impl Eq for PgLogLevel
impl StructuralEq for PgLogLevel
impl StructuralPartialEq for PgLogLevel
Auto Trait Implementations§
impl RefUnwindSafe for PgLogLevel
impl Send for PgLogLevel
impl Sync for PgLogLevel
impl Unpin for PgLogLevel
impl UnwindSafe for PgLogLevel
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.