Add missing parameter in non-colorized outputs

This commit is contained in:
Joshua Ramon Enslin 2025-02-07 15:31:14 +01:00
parent e4dfaf5d3f
commit ee82d70f21
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -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);