Skip to content

Commit

Permalink
Improve logging.hpp comment for log tag_invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Jan 23, 2024
1 parent 0d4260f commit ac5da68
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion proxy/include/proxy/logging.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,20 @@ namespace std {
//
// User customization function for hook log, function signature:
//
// bool logger_writer(logger_tag,
// bool tag_invoke(logger_tag,
// int64_t time, const int& level, const std::string& message);
//
// For example:
//
// namespace util {
// bool tag_invoke(logger_tag,
// int64_t time, const int& level, const std::string& message)
// {
// // do something.
// return true;
// }
// }
//


namespace util {
Expand Down

0 comments on commit ac5da68

Please sign in to comment.