summaryrefslogtreecommitdiffstats
path: root/src/Logger.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-04 20:21:48 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-23 01:32:47 +0200
commit330626ab22fe2e87afa5306c5f4039088c41b49e (patch)
tree86a5c7e0f0eb34743d186cbd712d368fed16f748 /src/Logger.cpp
parentRemove some unused inclusions (diff)
downloadcuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.gz
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.bz2
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.lz
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.xz
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.zst
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.zip
Diffstat (limited to 'src/Logger.cpp')
-rw-r--r--src/Logger.cpp20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/Logger.cpp b/src/Logger.cpp
index eac240790..e8306aa30 100644
--- a/src/Logger.cpp
+++ b/src/Logger.cpp
@@ -84,9 +84,7 @@ void cLogger::LogLine(std::string_view a_Line, eLogLevel a_LogLevel)
-void cLogger::LogPrintf(
- std::string_view a_Format, eLogLevel a_LogLevel, fmt::printf_args a_ArgList
-)
+void cLogger::LogPrintf(std::string_view a_Format, eLogLevel a_LogLevel, fmt::printf_args a_ArgList)
{
fmt::memory_buffer Buffer;
WriteLogOpener(Buffer);
@@ -100,9 +98,7 @@ void cLogger::LogPrintf(
-void cLogger::LogFormat(
- std::string_view a_Format, eLogLevel a_LogLevel, fmt::format_args a_ArgList
-)
+void cLogger::LogFormat(std::string_view a_Format, eLogLevel a_LogLevel, fmt::format_args a_ArgList)
{
fmt::memory_buffer Buffer;
WriteLogOpener(Buffer);
@@ -152,9 +148,7 @@ void cLogger::DetachListener(cListener * a_Listener)
////////////////////////////////////////////////////////////////////////////////
// Global functions
-void Logger::LogFormat(
- std::string_view a_Format, eLogLevel a_LogLevel, fmt::format_args a_ArgList
-)
+void Logger::LogFormat(std::string_view a_Format, eLogLevel a_LogLevel, fmt::format_args a_ArgList)
{
cLogger::GetInstance().LogFormat(a_Format, a_LogLevel, a_ArgList);
}
@@ -163,9 +157,7 @@ void Logger::LogFormat(
-void Logger::LogPrintf(
- std::string_view a_Format, eLogLevel a_LogLevel, fmt::printf_args a_ArgList
-)
+void Logger::LogPrintf(std::string_view a_Format, eLogLevel a_LogLevel, fmt::printf_args a_ArgList)
{
cLogger::GetInstance().LogPrintf(a_Format, a_LogLevel, a_ArgList);
}
@@ -178,7 +170,3 @@ void Logger::LogSimple(std::string_view a_Message, eLogLevel a_LogLevel)
{
cLogger::GetInstance().LogSimple(a_Message, a_LogLevel);
}
-
-
-
-