mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +00:00
update ns definition
This commit is contained in:
parent
5025e178a4
commit
8f0b6790cd
1 changed files with 2 additions and 2 deletions
|
|
@ -20,9 +20,9 @@ async fn main() -> Result<()> {
|
|||
use tokio::time;
|
||||
// debug
|
||||
if std::env::var("RUST_LOG").is_ok() {
|
||||
use tracing_subscriber::fmt::{time::FormatTime, *};
|
||||
use tracing_subscriber::fmt::*;
|
||||
struct T;
|
||||
impl FormatTime for T {
|
||||
impl time::FormatTime for T {
|
||||
fn format_time(&self, w: &mut format::Writer<'_>) -> std::fmt::Result {
|
||||
write!(w, "{}", Local::now())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue