Skip to content

Commit

Permalink
fix example custom clock
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Oct 31, 2023
1 parent 9a270d5 commit 8516c56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/example_custom_clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ int main()
// Config using the custom ts class and the stdout handler
quill::Config cfg;
cfg.default_handlers.emplace_back(file_handler);
cfg.default_timestamp_clock_type = quill::TimestampClockType::Custom;
cfg.default_custom_timestamp_clock = std::addressof(custom_ts);
quill::configure(cfg);

Expand Down

0 comments on commit 8516c56

Please sign in to comment.