mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
feat: add trace level to client logs
This commit is contained in:
parent
c0df26be42
commit
2f0451d113
@ -22,6 +22,10 @@ class Log {
|
|||||||
log: true,
|
log: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
trace(...messages: [unknown, ...unknown[]]): void {
|
||||||
|
this.output.trace(this.stringify(messages));
|
||||||
|
}
|
||||||
|
|
||||||
debug(...messages: [unknown, ...unknown[]]): void {
|
debug(...messages: [unknown, ...unknown[]]): void {
|
||||||
this.output.debug(this.stringify(messages));
|
this.output.debug(this.stringify(messages));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user