Skip to content

Commit 3829bc8

Browse files
committed
refactor(logstream): move LogStream header to detail
Relocate LogStream.hpp into the detail directory and fix dependent includes.
1 parent 5969afd commit 3829bc8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/logit_cpp/logit.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "logit/enums.hpp"
1010
#include "logit/utils.hpp"
1111
#include "logit/Logger.hpp"
12-
#include "logit/LogStream.hpp"
12+
#include "logit/detail/LogStream.hpp"
1313
#include "logit/detail/ScopeTimer.hpp"
1414
#include "logit/log_macros.hpp"
1515
#include "logit/formatter.hpp"

include/logit_cpp/logit/LogStream.hpp renamed to include/logit_cpp/logit/detail/LogStream.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#pragma once
2-
#ifndef _LOGIT_LOG_STREAM_HPP_INCLUDED
3-
#define _LOGIT_LOG_STREAM_HPP_INCLUDED
2+
#ifndef _LOGIT_DETAIL_LOG_STREAM_HPP_INCLUDED
3+
#define _LOGIT_DETAIL_LOG_STREAM_HPP_INCLUDED
44

55
/// \file LogStream.hpp
66
/// \brief Defines the LogStream class for stream-like logging functionality.
77

88
#include <sstream>
9-
#include "Logger.hpp"
10-
#include "utils/path_utils.hpp"
9+
#include "../Logger.hpp"
10+
#include "../utils/path_utils.hpp"
1111

1212
namespace logit {
1313

@@ -78,4 +78,4 @@ namespace logit {
7878

7979
} // namespace logit
8080

81-
#endif // _LOGIT_LOG_STREAM_HPP_INCLUDED
81+
#endif // _LOGIT_DETAIL_LOG_STREAM_HPP_INCLUDED

0 commit comments

Comments
 (0)