diff --git a/log/src/Logger.cc b/log/src/Logger.cc index 0eccc61..e0d1824 100644 --- a/log/src/Logger.cc +++ b/log/src/Logger.cc @@ -28,7 +28,8 @@ namespace gz::utils::log namespace { /// \brief Default log format /// Example output - constexpr std::string_view kDefaultLogFormat{"%^(%Y-%m-%d %T.%e) [%l] %v%$"}; +constexpr std::string_view kDefaultLogFormat{ + "%^(%Y-%m-%d %T.%e) [%l] [%s:%#] %v%$"}; } /// \brief Private data for the Logger class. class Logger::Implementation