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
9 changes: 9 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AGENTS

## Header inclusion
This project provides dedicated entry-point headers that include internal dependencies in the correct order. Use these headers instead of forward-declaring library types.

* `include/logit_cpp/LogIt.hpp` – main entry for the entire library.
* `include/logit_cpp/logit/utils.hpp` – aggregates the utilities module.

Including through these headers ensures dependencies are resolved without manual forward declarations.
1 change: 1 addition & 0 deletions include/logit_cpp/logit/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/// encoding utilities, path utilities, and log record management. Including this header
/// provides a single point of access to common utility functions and types.

#include "enums.hpp"
#include "utils/format.hpp"
#include "utils/VariableValue.hpp"
#include "utils/argument_utils.hpp"
Expand Down
3 changes: 3 additions & 0 deletions include/logit_cpp/logit/utils/LogRecord.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
/// \file LogRecord.hpp
/// \brief Contains the definition of the LogRecord structure for storing log data.

#include <string>
#include <vector>
#include <cstdint>
#include <thread>

namespace logit {
Expand Down
Loading