diff options
| author | bunnei <bunneidev@gmail.com> | 2021-10-05 10:05:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-05 10:05:46 -0700 |
| commit | 5b2fa8dd418d82b51acdc6849fafbc6a2e858fa9 (patch) | |
| tree | 879f5fb79a0d320cb56a5e66eab783de9614d88a /src/common/logging/types.h | |
| parent | b8694399693c13e04c049b474354c8efef1874ee (diff) | |
| parent | 579f4ea4bd34f310fc8e60a4c154981a86727686 (diff) | |
Merge pull request #7115 from ameerj/log-compile
common/logging: Reduce dependent header include overhead
Diffstat (limited to 'src/common/logging/types.h')
| -rw-r--r-- | src/common/logging/types.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common/logging/types.h b/src/common/logging/types.h index ddf9d27ca..2d21fc483 100644 --- a/src/common/logging/types.h +++ b/src/common/logging/types.h @@ -4,8 +4,6 @@ #pragma once -#include <chrono> - #include "common/common_types.h" namespace Common::Log { @@ -131,19 +129,4 @@ enum class Class : u8 { Count ///< Total number of logging classes }; -/** - * A log entry. Log entries are store in a structured format to permit more varied output - * formatting on different frontends, as well as facilitating filtering and aggregation. - */ -struct Entry { - std::chrono::microseconds timestamp; - Class log_class{}; - Level log_level{}; - const char* filename = nullptr; - unsigned int line_num = 0; - std::string function; - std::string message; - bool final_entry = false; -}; - } // namespace Common::Log |
