1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-10-17 08:40:54 +00:00

logging: strip full paths from __FILE__ at compile-time

This commit is contained in:
Oliver Giles
2019-04-11 22:14:26 +03:00
parent bcb8b438f3
commit 0c67d4c844
4 changed files with 44 additions and 11 deletions

View File

@@ -286,7 +286,7 @@ private:
}, [](kj::Exception&& e){
// server logs suggest early catching here avoids fatal exception later
// TODO: reproduce in unit test
KJ_LOG(WARNING, e.getDescription());
LLOG(WARNING, e.getDescription());
return kj::READY_NOW;
});
}