mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
WebServer: Use outln() instead of printf()
This commit is contained in:
parent
6e6ff844d3
commit
eb6adbabef
1 changed files with 1 additions and 5 deletions
|
@ -265,11 +265,7 @@ void Client::send_error_response(unsigned code, StringView const& message, HTTP:
|
|||
|
||||
void Client::log_response(unsigned code, HTTP::HttpRequest const& request)
|
||||
{
|
||||
printf("%s :: %03u :: %s %s\n",
|
||||
Core::DateTime::now().to_string().characters(),
|
||||
code,
|
||||
request.method_name().characters(),
|
||||
request.resource().characters());
|
||||
outln("{} :: {:03d} :: {} {}", Core::DateTime::now().to_string(), code, request.method_name(), request.resource());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue