mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
feat(Core/Logging): add support fmt::format logging (#6893)
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
#include "GitRevision.h"
|
||||
#include "StringFormat.h"
|
||||
|
||||
void Acore::Banner::Show(char const* applicationName, void(*log)(char const* text), void(*logExtraInfo)())
|
||||
void Acore::Banner::Show(std::string_view applicationName, void(*log)(std::string_view text), void(*logExtraInfo)())
|
||||
{
|
||||
log(Acore::StringFormat("%s (%s)", GitRevision::GetFullVersion(), applicationName).c_str());
|
||||
log(Acore::StringFormatFmt("{} ({})", GitRevision::GetFullVersion(), applicationName));
|
||||
log("<Ctrl-C> to stop.\n");
|
||||
log(" █████╗ ███████╗███████╗██████╗ ██████╗ ████████╗██╗ ██╗");
|
||||
log(" ██╔══██╗╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║");
|
||||
|
||||
Reference in New Issue
Block a user