mirror of
https://github.com/withastro/astro.git
synced 2025-03-31 23:31:30 -05:00
fix(logger): namespace label in debug logger (#9067)
This commit is contained in:
parent
5f2db426ce
commit
c6e449c5b3
2 changed files with 8 additions and 3 deletions
5
.changeset/dirty-zoos-fail.md
Normal file
5
.changeset/dirty-zoos-fail.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes display of debug messages when using the `--verbose` flag
|
|
@ -142,8 +142,8 @@ export class Logger {
|
|||
error(label: string | null, message: string) {
|
||||
error(this.options, label, message);
|
||||
}
|
||||
debug(label: string | null, message: string, ...args: any[]) {
|
||||
debug(this.options, label, message, args);
|
||||
debug(label: string | null, ...messages: any[]) {
|
||||
debug(label, ...messages);
|
||||
}
|
||||
|
||||
level() {
|
||||
|
@ -181,6 +181,6 @@ export class AstroIntegrationLogger {
|
|||
error(this.options, this.label, message);
|
||||
}
|
||||
debug(message: string) {
|
||||
debug(this.options, this.label, message);
|
||||
debug(this.label, message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue