mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
add Logger::log_target
(#2594)
This commit is contained in:
@@ -24,7 +24,7 @@ async fn main() -> std::io::Result<()> {
|
||||
App::new()
|
||||
.wrap(middleware::DefaultHeaders::new().add(("X-Version", "0.2")))
|
||||
.wrap(middleware::Compress::default())
|
||||
.wrap(middleware::Logger::default().log_target("1234"))
|
||||
.wrap(middleware::Logger::default().log_target("http_log"))
|
||||
.service(index)
|
||||
.service(no_params)
|
||||
.service(
|
||||
|
Reference in New Issue
Block a user