/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/Logging/ConsoleWriter.h
20 строк
610 B
Ingrater
Format everything using clang-format (#267)
22 июл 2020, 21:23
Не верифицирован
22 июл 2020, 21:23
878ce7e
Код
Авторство
О чём код?
#pragma once #include <Foundation/Logging/Log.h> namespace ezLogWriter { /// \brief A simple log writer that writes out log messages using printf. class EZ_FOUNDATION_DLL Console { public: /// \brief Register this at ezLog to write all log messages to the console using printf. static void LogMessageHandler(const ezLoggingEventData& eventData); /// \brief Allows to indicate in what form timestamps should be added to log messages. static void SetTimestampMode(ezLog::TimestampMode mode); private: static ezLog::TimestampMode s_TimestampMode; }; } // namespace ezLogWriter