Skip to content

Commit

Permalink
TRACE FORMAT ADJUSTMENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jan 24, 2024
1 parent 9eb000b commit 8f173e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nano/lib/logging.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class logger final
if constexpr (is_tracing_enabled ())
{
auto logger = get_logger (type, detail);
logger.trace ("\"{}\" {}", to_string (detail), nano::object_stream_formatter{ global_tracing_config, std::forward<Args> (args)... });
logger.trace ("<{}> {}", to_string (detail), nano::object_stream_formatter{ global_tracing_config, std::forward<Args> (args)... });
}
}

Expand Down
2 changes: 1 addition & 1 deletion nano/node/messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void nano::message_header::operator() (nano::object_stream & obs) const
{
obs.write ("type", type);
obs.write ("network", nano::to_string (network));
obs.write ("network_int", static_cast<uint16_t> (network));
obs.write ("network_raw", static_cast<uint16_t> (network));
obs.write ("version", static_cast<uint16_t> (version_using));
obs.write ("version_min", static_cast<uint16_t> (version_min));
obs.write ("version_max", static_cast<uint16_t> (version_max));
Expand Down

0 comments on commit 8f173e8

Please sign in to comment.