lintel 0.2.0
Loading...
Searching...
No Matches
LoggerEntry.h
Go to the documentation of this file.
1#ifndef LINTEL_LOGGERENTRY_H
2#define LINTEL_LOGGERENTRY_H
3
4#include <memory>
5#include <ostream>
6
10
11namespace lintel {
13class LoggerEntry : public Entry
14{
15private:
17 std::shared_ptr<LoggerConfiguration> m_loggerConfiguration;
19 std::shared_ptr<LoggerPathConfiguration> m_loggerPathConfiguration;
20
21public:
25 LoggerEntry(std::string_view component, std::shared_ptr<LoggerConfiguration> loggerConfiguration);
26
30 LoggerEntry(std::string_view component, std::shared_ptr<LoggerPathConfiguration> loggerPathConfiguration);
31
35
39
42 [[nodiscard]] const std::shared_ptr<LoggerConfiguration> &getLoggerConfiguration() const;
43
46 [[nodiscard]] const std::shared_ptr<LoggerPathConfiguration> &getLoggerPathConfiguration() const;
47};
48
49}// namespace lintel
50#endif// LINTEL_LOGGERENTRY_H
Definition Entry.h:10
Definition LoggerEntry.h:14
const std::shared_ptr< LoggerPathConfiguration > & getLoggerPathConfiguration() const
const std::shared_ptr< LoggerConfiguration > & getLoggerConfiguration() const
LoggerEntry(std::string_view component, std::shared_ptr< LoggerConfiguration > loggerConfiguration)
bool isLoggerConfiguration() const
LoggerEntry(std::string_view component, std::shared_ptr< LoggerPathConfiguration > loggerPathConfiguration)
bool isLoggerPathConfiguration() const
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9