Skip to content

File LogWriter.hpp

FileList > Engine > include > Logging > LogWriter.hpp

Go to the source code of this file

Background terminal writer for engine log lines. More...

  • #include "Logging/LogConfig.hpp"
  • #include <condition_variable>
  • #include <cstddef>
  • #include <deque>
  • #include <mutex>
  • #include <string>
  • #include <thread>

Namespaces

Type Name
namespace Engine

Classes

Type Name
class LogWriter
Single consumer of terminal log lines.

Detailed Description

emit moves each line into a bounded queue and returns. One worker thread owns std::cout and std::cerr. The editor Console does not read this queue.


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Logging/LogWriter.hpp