diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-06-07 13:28:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-11 11:37:15 +0200 |
commit | eb6adbabefb39477507dd5a3250aad272be09c25 (patch) | |
tree | 0036c2e036f6483d1a17ab532b2185bc578fee8e /Userland/Services/WebServer | |
parent | 6e6ff844d336b0d7b466156daea402e3eff09735 (diff) | |
download | serenity-eb6adbabefb39477507dd5a3250aad272be09c25.zip |
WebServer: Use outln() instead of printf()
Diffstat (limited to 'Userland/Services/WebServer')
-rw-r--r-- | Userland/Services/WebServer/Client.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Userland/Services/WebServer/Client.cpp b/Userland/Services/WebServer/Client.cpp index 89594ce227..9e15f7bb9c 100644 --- a/Userland/Services/WebServer/Client.cpp +++ b/Userland/Services/WebServer/Client.cpp @@ -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()); } } |