File LogBuffer.hpp¶
FileList > Engine > include > Logging > LogBuffer.hpp
Go to the source code of this file
Fixed-size ring of user-facing log lines for the Editor console. More...
#include "Logging/LogConfig.hpp"#include <cstddef>#include <mutex>#include <string>#include <vector>
Namespaces¶
| Type | Name |
|---|---|
| namespace | Engine |
Classes¶
| Type | Name |
|---|---|
| class | LogBuffer Process-wide ring of the most recent user error messages. |
| struct | LogEntry One stored log line. The display tag is added by the reader. |
Detailed Description¶
emit pushes a line here only for LogAudience::User. Engine diagnostics stay on the terminal. When the buffer is full, the oldest line is overwritten. The Editor ConsolePanel copies entries out each frame. The copy lock is released before the caller draws.
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Logging/LogBuffer.hpp