Enum deno_runtime::WorkerLogLevel
source · pub enum WorkerLogLevel {
Error = 1,
Warn = 2,
Info = 3,
Debug = 4,
}
Expand description
The log level to use when printing diagnostic log messages, warnings, or errors in the worker.
Note: This is disconnected with the log crate’s log level and the Rust code
in this crate will respect that value instead. To specify that, use
log::set_max_level
.
Variants§
Trait Implementations§
source§impl Clone for WorkerLogLevel
impl Clone for WorkerLogLevel
source§fn clone(&self) -> WorkerLogLevel
fn clone(&self) -> WorkerLogLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WorkerLogLevel
impl Debug for WorkerLogLevel
source§impl Default for WorkerLogLevel
impl Default for WorkerLogLevel
source§fn default() -> WorkerLogLevel
fn default() -> WorkerLogLevel
Returns the “default value” for a type. Read more
source§impl From<Level> for WorkerLogLevel
impl From<Level> for WorkerLogLevel
impl Copy for WorkerLogLevel
Auto Trait Implementations§
impl Send for WorkerLogLevel
impl Sync for WorkerLogLevel
impl RefUnwindSafe for WorkerLogLevel
impl Unpin for WorkerLogLevel
impl UnwindSafe for WorkerLogLevel
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
Mutably borrows from an owned value. Read more