Skip to content

Commit

Permalink
rename the param name 'level' to 'notification_level'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuyadong committed Dec 1, 2022
1 parent 784c94f commit 31679b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/sinks/dup_filter_sink.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class dup_filter_sink : public dist_sink<Mutex>
{
public:
template<class Rep, class Period>
explicit dup_filter_sink(std::chrono::duration<Rep, Period> max_skip_duration, level::level_enum level = level::info)
explicit dup_filter_sink(std::chrono::duration<Rep, Period> max_skip_duration, level::level_enum notification_level = level::info)
: max_skip_duration_{max_skip_duration}
, log_level_{level}
{}
Expand Down

0 comments on commit 31679b5

Please sign in to comment.