|
| TestingLog (const std::string &key="") |
|
| TestingLog (const TestingLog &rhs) |
|
TestingLog & | operator= (const TestingLog &rhs) |
|
| GRT_DEPRECATED_MSG ("enableLogging is deprecated, use setLoggingEnabled instead", static bool enableLogging(bool loggingEnabled)) |
|
| GRT_DEPRECATED_MSG ("loggingEnabled is deprecated, use getLoggingEnabled instead", bool loggingEnabled() const ) |
|
| Log (const std::string &key="") |
| defines the log default constructor More...
|
|
| Log (const Log &rhs) |
| defines the log copy constructor More...
|
|
Log & | operator= (const Log &rhs) |
| defines the log equals operator More...
|
|
template<class T > |
const Log & | operator<< (const T &val) const |
| defines an operator<< to write a value to std::endl, this updates the message
|
|
const Log & | operator<< (const StandardEndLine manip) const |
| defines an operator<< to take in std::endl, this ends a message and triggers the mesaage callback
|
|
virtual bool | getInstanceLoggingEnabled () const |
| returns true if logging is enabled for this specific instance More...
|
|
virtual std::string | getKey () const |
| returns the key that gets written at the start of each message More...
|
|
virtual std::string | getLastMessage () const |
| returns the last message written by the log More...
|
|
virtual bool | setKey (const std::string &key) |
| sets the key that gets written at the start of each message, this will be written in the format 'key message'. The key can be empty. More...
|
|
virtual bool | getInstanceLoggingEnabled () |
| returns if logging is enabled for this specific instance More...
|
|
virtual bool | setInstanceLoggingEnabled (const bool loggingEnabled) |
| sets if logging is enabled for this specific instance More...
|
|
| GRT_DEPRECATED_MSG ("setProceedingText is deprecated, use setKey instead", void setProceedingText(std::string proceedingText)) |
|
| GRT_DEPRECATED_MSG ("getProceedingText is deprecated, use getKey instead", std::string getProceedingText() const ) |
|
| GRT_DEPRECATED_MSG ("setEnableInstanceLogging is deprecated, use setInstanceLoggingEnabled instead", bool setEnableInstanceLogging(const bool loggingEnabled)) |
|
|
typedef std::basic_ostream< char, std::char_traits< char > > | CoutType |
| this is the type of std::cout
|
|
typedef CoutType &(* | StandardEndLine) (CoutType &) |
| this is the function signature of std::endl
|
|
std::string | key |
| The key that will be written at the start of each log.
|
|
std::string | lastMessage |
| The last message written.
|
|
bool | writeKey |
| If true, then the key will be written at the start of each log message.
|
|
bool | instanceLoggingEnabled |
| If true, then this instance should log messages.
|
|
bool * | loggingEnabledPtr |
| This is a hack that enables variables to be updated inside const methods.
|
|
bool * | writeKeyPtr |
| This is a hack that enables variables to be updated inside const methods.
|
|
std::string * | lastMessagePtr |
| This is a hack that enables variables to be updated inside const methods.
|
|
Definition at line 51 of file TestingLog.h.