Add missing parameter in non-colorized outputs
This commit is contained in:
parent
e4dfaf5d3f
commit
ee82d70f21
@ -158,7 +158,7 @@ final class MDOutputHandler {
|
||||
// Generate the message to log.
|
||||
$format = match($this->color_output) {
|
||||
true => $statusCode->get_cli_color() . "%s" . MDConsoleColors::COLOR_OFF . " │ " . MDConsoleColors::FG_AQUA . "%s" . MDConsoleColors::FG_GREY . "%s#%'.08d" . MDConsoleColors::COLOR_OFF . " │ " . MDConsoleColors::FG_GREY . "%s │ %s" . MDConsoleColors::COLOR_OFF . " │ %s",
|
||||
default => "%s │ %s#%'.08d │ %s │ %s │ %s",
|
||||
default => "%s │ %s%s#%'.08d │ %s │ %s │ %s",
|
||||
};
|
||||
$message = \sprintf($format . PHP_EOL, $statusSymbol, $this->_context, $contextStr, $this->_counter, $this->_human_filesize(\memory_get_usage()), $date, $msg);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user