TwiceAsNice
2019-02-18
|
Singleton logging class for the apg library. More...
#include <ApgLogger.h>
Public Types | |
enum | Level { LEVEL_RELEASE, LEVEL_DEBUG, LEVEL_VERBOSE } |
Public Member Functions | |
void | Write (ApgLogger::Level level, const std::string &type, const std::string &msg) |
ApgLogger::Level | GetLogLevel () |
void | SetLogLevel (ApgLogger::Level newLevel) |
bool | IsLevelVerbose () |
Static Public Member Functions | |
static ApgLogger & | Instance () |
Private Member Functions | |
ApgLogger () | |
ApgLogger (ApgLogger const &) | |
ApgLogger & | operator= (ApgLogger const &) |
~ApgLogger () | |
Private Attributes | |
std::shared_ptr< ILog > | m_theLogger |
ApgLogger::Level | m_level |
Singleton logging class for the apg library.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2009 Apogee Instruments, Inc.
enum ApgLogger::Level |
|
private |
|
private |
|
inline |
|
inlinestatic |
bool ApgLogger::IsLevelVerbose | ( | ) |
|
inline |
void ApgLogger::Write | ( | ApgLogger::Level | level, |
const std::string & | type, | ||
const std::string & | msg | ||
) |
|
private |
|
private |