23[[nodiscard]] std::string_view
fileName(std::string_view path);
36 std::string_view category, std::string_view file,
int line,
37 std::string_view message);
Niveaux de journalisation, par gravité croissante.
Espace de noms du moteur et de la logique de jeu.
Definition Bootstrap.h:9
std::string currentTimestamp()
Horodatage courant local, au format "HH:MM:SS".
Definition LogFormat.cpp:44
LogLevel
Niveau d'un message de journalisation (ordre croissant de gravité).
Definition LogLevel.h:14
std::string_view fileName(std::string_view path)
Réduit un chemin source à son seul nom de fichier.
Definition LogFormat.cpp:10
std::string formatLogLine(std::string_view timestamp, LogLevel level, std::string_view category, std::string_view file, int line, std::string_view message)
Compose une ligne de journalisation.
Definition LogFormat.cpp:21