We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37d8a01 + b7e5576 commit c7cf193Copy full SHA for c7cf193
Cargo.toml
@@ -27,7 +27,6 @@ default = [
27
"crossbeam-channel",
28
"crossbeam-deque",
29
"futures-timer",
30
- "kv-log-macro",
31
"log",
32
"mio",
33
"mio-uds",
@@ -58,8 +57,7 @@ crossbeam-utils = { version = "0.7.0", optional = true }
58
57
futures-core = { version = "0.3.1", optional = true }
59
futures-io = { version = "0.3.1", optional = true }
60
futures-timer = { version = "2.0.2", optional = true }
61
-kv-log-macro = { version = "1.0.4", optional = true }
62
-log = { version = "0.4.8", features = ["kv_unstable"], optional = true }
+log = { version = "0.4.10", features = ["kv_unstable"], optional = true }
63
memchr = { version = "2.2.1", optional = true }
64
mio = { version = "0.6.19", optional = true }
65
mio-uds = { version = "0.6.7", optional = true }
src/task/block_on.rs
@@ -6,7 +6,6 @@ use std::task::{RawWaker, RawWakerVTable};
6
use std::thread;
7
8
use crossbeam_utils::sync::Parker;
9
-use kv_log_macro::trace;
10
use log::log_enabled;
11
12
use crate::task::{Context, Poll, Task, Waker};
@@ -43,7 +42,7 @@ where
43
42
44
// Log this `block_on` operation.
45
if log_enabled!(log::Level::Trace) {
46
- trace!("block_on", {
+ log::trace!("block_on", {
47
task_id: task.id().0,
48
parent_task_id: Task::get_current(|t| t.id().0).unwrap_or(0),
49
});
@@ -59,7 +58,7 @@ where
defer! {
Task::get_current(|t| {
- trace!("completed", {
+ log::trace!("completed", {
task_id: t.id().0,
src/task/builder.rs
@@ -1,4 +1,3 @@
1
2
3
use std::future::Future;
4
@@ -38,7 +37,7 @@ impl Builder {
38
37
39
// Log this `spawn` operation.
40
41
- trace!("spawn", {
+ log::trace!("spawn", {
@@ -54,7 +53,7 @@ impl Builder {
54
53
55
56
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments