Ref: Optimize imports.
This commit is contained in:
11
src/log.rs
11
src/log.rs
@@ -1,13 +1,12 @@
|
|||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
use std::fmt::{Display, Formatter};
|
use std::fmt::{Display, Formatter};
|
||||||
use std::io::{IsTerminal, stdout, Write};
|
use std::fs::{create_dir_all, File, OpenOptions};
|
||||||
use std::sync::{OnceLock, Mutex};
|
use std::io::{stdout, IsTerminal, Write};
|
||||||
use std::fs::{create_dir_all, OpenOptions, File};
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::time::{SystemTime, UNIX_EPOCH};
|
use std::sync::{Mutex, OnceLock};
|
||||||
use std::{env, process};
|
use std::env;
|
||||||
|
|
||||||
use time::{OffsetDateTime, macros::format_description};
|
use time::{macros::format_description, OffsetDateTime};
|
||||||
|
|
||||||
#[derive(PartialEq)]
|
#[derive(PartialEq)]
|
||||||
pub enum LogLevel {
|
pub enum LogLevel {
|
||||||
|
|||||||
Reference in New Issue
Block a user