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::fmt::{Display, Formatter};
|
||||
use std::io::{IsTerminal, stdout, Write};
|
||||
use std::sync::{OnceLock, Mutex};
|
||||
use std::fs::{create_dir_all, OpenOptions, File};
|
||||
use std::fs::{create_dir_all, File, OpenOptions};
|
||||
use std::io::{stdout, IsTerminal, Write};
|
||||
use std::path::PathBuf;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
use std::{env, process};
|
||||
use std::sync::{Mutex, OnceLock};
|
||||
use std::env;
|
||||
|
||||
use time::{OffsetDateTime, macros::format_description};
|
||||
use time::{macros::format_description, OffsetDateTime};
|
||||
|
||||
#[derive(PartialEq)]
|
||||
pub enum LogLevel {
|
||||
|
||||
Reference in New Issue
Block a user