Skip to content

Commit

Permalink
chore: update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Jul 18, 2024
1 parent 964c85d commit d086ee1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/sys/log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void EnableVirtualTerminalProcessing()
}
#endif

void OutputLogger::PrintMessage(std::string type, const std::string& message, fmt::v10::text_style color)
void OutputLogger::PrintMessage(std::string type, const std::string& message, fmt::text_style color)
{
std::lock_guard<std::mutex> lock(logMutex);

Expand Down Expand Up @@ -125,7 +125,7 @@ void OutputLogger::LogPluginMessage(std::string pluginName, std::string strMessa
outputLogStream->flush();
}

void OutputLogger::LogHead(std::string strHeadTitle, fmt::v10::text_style color)
void OutputLogger::LogHead(std::string strHeadTitle, fmt::text_style color)
{
const auto message = fmt::format("\n[┬] {}", strHeadTitle);

Expand All @@ -139,7 +139,7 @@ void OutputLogger::LogHead(std::string strHeadTitle, fmt::v10::text_style color)
outputLogStream->flush();
}

void OutputLogger::LogItem(std::string pluginName, std::string strMessage, bool end, fmt::v10::text_style color)
void OutputLogger::LogItem(std::string pluginName, std::string strMessage, bool end, fmt::text_style color)
{
std::string connectorPiece = end ? "" : "";
const auto message = fmt::format(" {}──[{}]: {}", connectorPiece, pluginName, strMessage);
Expand Down
6 changes: 3 additions & 3 deletions src/sys/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class OutputLogger
std::string GetLocalTime();

public:
void PrintMessage(std::string type, const std::string &message, fmt::v10::text_style color = fg(fmt::color::white));
void PrintMessage(std::string type, const std::string &message, fmt::text_style color = fg(fmt::color::white));

OutputLogger(const OutputLogger &) = delete;
OutputLogger &operator=(const OutputLogger &) = delete;
Expand Down Expand Up @@ -53,8 +53,8 @@ class OutputLogger
PrintMessage(" [warn] ", (sizeof...(args) == 0) ? fmt : fmt::format(fmt, std::forward<Args>(args)...), fg(fmt::color::yellow));
}

void LogHead(std::string val, fmt::v10::text_style color = fg(fmt::color::magenta));
void LogItem(std::string pluginName, std::string data, bool end = false, fmt::v10::text_style color = fg(fmt::color::magenta));
void LogHead(std::string val, fmt::text_style color = fg(fmt::color::magenta));
void LogItem(std::string pluginName, std::string data, bool end = false, fmt::text_style color = fg(fmt::color::magenta));
};

extern OutputLogger Logger;
Expand Down
2 changes: 1 addition & 1 deletion vendor/asio
Submodule asio updated 1386 files
2 changes: 1 addition & 1 deletion vendor/crow
Submodule crow updated 1 files
+2 −2 include/crow/utility.h
2 changes: 1 addition & 1 deletion vendor/fmt
Submodule fmt updated 157 files

0 comments on commit d086ee1

Please sign in to comment.