diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2016-01-21 23:10:02 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2016-01-21 23:10:02 +0100 |
| commit | 338714a3b083af9c045482764673a799d582cf2f (patch) | |
| tree | b89fff11cb62813c947524181824f9117be0be49 /Source/Core/Common/Logging/LogManager.cpp | |
| parent | 7c3e4b34f3407b95ac1746fe6f4567c744478c60 (diff) | |
| parent | 4b06e927315aeaae5294eb46925bdb9b8dd301dc (diff) | |
Merge pull request #3544 from mathieui/common_asterisks
Common: asterisks go against the type name
Diffstat (limited to 'Source/Core/Common/Logging/LogManager.cpp')
| -rw-r--r-- | Source/Core/Common/Logging/LogManager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp index 06efc8419c..006a5f6ffc 100644 --- a/Source/Core/Common/Logging/LogManager.cpp +++ b/Source/Core/Common/Logging/LogManager.cpp @@ -18,7 +18,7 @@ #include "Common/Logging/LogManager.h" void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, - const char *file, int line, const char* fmt, ...) + const char* file, int line, const char* fmt, ...) { va_list args; va_start(args, fmt); @@ -28,7 +28,7 @@ void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, va_end(args); } -LogManager *LogManager::m_logManager = nullptr; +LogManager* LogManager::m_logManager = nullptr; LogManager::LogManager() { @@ -115,10 +115,10 @@ LogManager::~LogManager() } void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, - const char *file, int line, const char *format, va_list args) + const char* file, int line, const char* format, va_list args) { char temp[MAX_MSGLEN]; - LogContainer *log = m_Log[type]; + LogContainer* log = m_Log[type]; if (!log->IsEnabled() || level > log->GetLevel() || !log->HasListeners()) return; @@ -160,7 +160,7 @@ FileLogListener::FileLogListener(const std::string& filename) SetEnable(true); } -void FileLogListener::Log(LogTypes::LOG_LEVELS, const char *msg) +void FileLogListener::Log(LogTypes::LOG_LEVELS, const char* msg) { if (!IsEnabled() || !IsValid()) return; |
