Skip to content

Commit

Permalink
inline
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Oct 9, 2024
1 parent 55dabd4 commit bd0371a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/clp_ffi_js/ir/LogEventWithLevel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ class LogEventWithLevel : public clp::ir::LogEvent<encoded_variable_t> {
: clp::ir::LogEvent<encoded_variable_t>{timestamp, utc_offset, std::move(message)},
m_log_level{log_level} {}

// Methods
[[nodiscard]] auto get_log_level() const -> LogLevel;
[[nodiscard]] auto get_log_level() const -> LogLevel {
return m_log_level;
}

private:
LogLevel m_log_level;
};

template <typename encoded_variable_t>
auto LogEventWithLevel<encoded_variable_t>::get_log_level() const -> LogLevel {
return m_log_level;
}
} // namespace clp_ffi_js::ir

#endif // CLP_FFI_JS_IR_LOGEVENTWITHLEVEL_HPP

0 comments on commit bd0371a

Please sign in to comment.