mirror of
https://github.com/nushell/nushell.git
synced 2025-01-20 05:09:42 +01:00
20 lines
244 B
Rust
20 lines
244 B
Rust
use crate::object::Value;
|
|
|
|
#[allow(unused)]
|
|
#[derive(Debug)]
|
|
pub enum LogLevel {
|
|
Trace,
|
|
Debug,
|
|
Info,
|
|
Warn,
|
|
Error,
|
|
Fatal,
|
|
}
|
|
|
|
#[allow(unused)]
|
|
#[derive(Debug)]
|
|
pub struct LogItem {
|
|
level: LogLevel,
|
|
value: Value,
|
|
}
|