pub enum PgLogLevel {
Show 13 variants
DEBUG5 = 10,
DEBUG4 = 11,
DEBUG3 = 12,
DEBUG2 = 13,
DEBUG1 = 14,
LOG = 15,
LOG_SERVER_ONLY = 16,
INFO = 17,
NOTICE = 18,
WARNING = 19,
ERROR = 21,
FATAL = 22,
PANIC = 23,
}
Expand description
Postgres’ various logging levels
Variants§
DEBUG5 = 10
Debugging messages, in categories of decreasing detail
DEBUG4 = 11
Debugging messages, in categories of decreasing detail
DEBUG3 = 12
Debugging messages, in categories of decreasing detail
DEBUG2 = 13
Debugging messages, in categories of decreasing detail
DEBUG1 = 14
Debugging messages, in categories of decreasing detail NOTE: used by GUC debug_* variables
LOG = 15
Server operational messages; sent only to server log by default.
LOG_SERVER_ONLY = 16
Same as LOG for server reporting, but never sent to client.
INFO = 17
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 = 18
Helpful messages to users about query operation; sent to client and not to server log by default.
WARNING = 19
Warnings. [NOTICE] is for expected messages like implicit sequence creation by SERIAL. [WARNING] is for unexpected messages.
ERROR = 21
user error - abort transaction; return to known state
FATAL = 22
fatal error - abort process
PANIC = 23
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 for PgLogLevel
impl PartialEq for PgLogLevel
Source§impl PartialOrd for PgLogLevel
impl PartialOrd for PgLogLevel
impl Copy for PgLogLevel
impl Eq for PgLogLevel
impl StructuralPartialEq for PgLogLevel
Auto Trait Implementations§
impl Freeze for PgLogLevel
impl RefUnwindSafe for PgLogLevel
impl Send for PgLogLevel
impl Sync for PgLogLevel
impl Unpin for PgLogLevel
impl UnwindSafe for PgLogLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.