Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/logit_cpp/LogIt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "logit/Logger.hpp"
#include "logit/LogStream.hpp"
#include "logit/LogMacros.hpp"
#include "logit/formatter/SimpleLogFormatter.hpp"
#include "logit/formatter.hpp"
#include "logit/loggers.hpp"

/// \namespace logit
Expand Down
2 changes: 1 addition & 1 deletion include/logit_cpp/logit/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/// \brief Defines the Logger class for managing multiple loggers and formatters.

#include "loggers/ILogger.hpp"
#include "formatter/ILogFormatter.hpp"
#include "formatter.hpp"
#include <memory>
#include <mutex>
#include <sstream>
Expand Down
12 changes: 12 additions & 0 deletions include/logit_cpp/logit/formatter.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once
#ifndef _LOGIT_FORMATTER_HPP_INCLUDED
#define _LOGIT_FORMATTER_HPP_INCLUDED

/// \file formatter.hpp
/// \brief Aggregates all formatter components for convenient inclusion.

#include "formatter/ILogFormatter.hpp"
#include "formatter/SimpleLogFormatter.hpp"
#include "formatter/compiler/PatternCompiler.hpp"

#endif // _LOGIT_FORMATTER_HPP_INCLUDED
1 change: 1 addition & 0 deletions include/logit_cpp/logit/formatter/SimpleLogFormatter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "ILogFormatter.hpp"
#include "compiler/PatternCompiler.hpp"
#include <time_shield/time_conversions.hpp>
#include <atomic> // for std::atomic

namespace logit {

Expand Down
Loading