FileLogger: Make IsTimeLoggingEnabled const

This commit is contained in:
Ardakaniz 2016-10-16 18:20:25 +02:00
parent 64cec3fd01
commit fca5aeb9cd
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace Nz
void EnableStdReplication(bool enable) override;
bool IsStdReplicationEnabled() const override;
bool IsTimeLoggingEnabled();
bool IsTimeLoggingEnabled() const;
void Write(const String& string) override;
void WriteError(ErrorType type, const String& error, unsigned int line = 0, const char* file = nullptr, const char* function = nullptr) override;

View File

@ -75,7 +75,7 @@ namespace Nz
* \return true If logging of the time is enabled
*/
bool FileLogger::IsTimeLoggingEnabled()
bool FileLogger::IsTimeLoggingEnabled() const
{
return m_timeLoggingEnabled;
}