21#ifndef __ANTARES_LIBS_LOGS_LOGS_H__
22#define __ANTARES_LIBS_LOGS_LOGS_H__
25#include "yuni/core/logs/decorators/message.h"
26#include "yuni/core/logs/decorators/time.h"
27#include "yuni/core/logs/decorators/verbositylevel.h"
28#include "yuni/core/logs/handler/file.h"
29#include "yuni/core/logs/handler/stdcout.h"
30#include "yuni/core/logs/logs.h"
38#define LOG_APPLICATION_NAME "antares"
40#define LOG_APPLICATION_VENDOR "RTE"
46#define LOG_PROGRESSION "[UI] progression: "
49#define LOG_UI_PROGRESSION_MAP "[UI] Progression map: "
52#define LOG_UI_DISPLAY_MESSAGES_ON "[UI] Display messages: On"
54#define LOG_UI_DISPLAY_MESSAGES_OFF "[UI] Display messages: Off"
56#define LOG_UI_HIDE_PROGRESSBAR "[UI] Progression: Off"
58#define LOG_UI_SOLVER_DONE "[UI] Quitting the solver gracefully"
62#include <yuni/core/logs.h>
63#include <yuni/core/logs/decorators/applicationname.h>
64#include <yuni/core/logs/handler/callback.h>
69using LoggingHandlers = Yuni::Logs::StdCout<
71 Yuni::Logs::Callback<>
75using LoggingDecorators = Yuni::Logs::Time<
76 Yuni::Logs::ApplicationName<
77 Yuni::Logs::VerbosityLevel<
82extern Yuni::Logs::Logger<LoggingHandlers, LoggingDecorators> logs;
120void LogDisplayErrorInfos(uint errors, uint warnings,
const char* message,
bool printError =
true);
int LogCompatibility(const char format[],...)
Generate a compatibility notice.
Definition logs.cpp:34