|
The Pedigree Project 0.1
|
#include <Log.h>
Collaboration diagram for Log::LogEntry:Public Member Functions | |
| LogEntry () | |
| LogEntry & | operator<< (const char *) |
| template<size_t N> | |
| LogEntry & | operator<< (const char(&str)[N]) |
| LogEntry & | operator<< (const String &) |
| LogEntry & | operator<< (const StringView &) |
| LogEntry & | operator<< (const Cord &) |
| template<size_t N> | |
| LogEntry & | operator<< (const StaticString< N > &s) |
| LogEntry & | operator<< (const TinyStaticString &) |
| LogEntry & | operator<< (const NormalStaticString &) |
| LogEntry & | operator<< (const LargeStaticString &) |
| LogEntry & | operator<< (const HugeStaticString &) |
| LogEntry & | operator<< (char *append_str) |
| LogEntry & | operator<< (bool b) |
| template<class T > | |
| LogEntry & | operator<< (T *p) |
| template<class T > | |
| LogEntry & | operator<< (T n) |
| LogEntry & | operator<< (SeverityLevel level) |
| LogEntry & | operator<< (NumberType type) |
| LogEntry & | operator<< (LogEntryModifier modifier) |
| template<class T > | |
| Log::LogEntry & | operator<< (T n) |
Public Attributes | |
| unsigned int | timestamp |
| SeverityLevel | severity |
| StaticString< LOG_LENGTH > | str |
| NumberType | numberType |
| bool | lockfree = false |
| bool | showTimestamp = true |
Stores an entry in the log.
| [in] | T | type of the log's text |
| Log::LogEntry::LogEntry | ( | ) |
Constructor does nothing
Definition at line 494 of file Log.cc.
References StaticString< N >::disableHashing(), and str.
| Log::LogEntry & Log::LogEntry::operator<< | ( | bool | b | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | char * | append_str | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const char * | s | ) |
|
inline |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const Cord & | c | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const HugeStaticString & | s | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const LargeStaticString & | s | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const NormalStaticString & | s | ) |
|
inline |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const String & | s | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const StringView & | s | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | const TinyStaticString & | s | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | LogEntryModifier | modifier | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | NumberType | type | ) |
| Log::LogEntry & Log::LogEntry::operator<< | ( | SeverityLevel | level | ) |
Starts an entry in the log.
Definition at line 570 of file Log.cc.
References EMIT_IF, and Timer::getTickCount().
|
inline |
| LogEntry & Log::LogEntry::operator<< | ( | T | n | ) |
Adds an entry to the log (integer type)
| [in] | n | the number |
| Log::LogEntry & Log::LogEntry::operator<< | ( | T | n | ) |
| bool Log::LogEntry::lockfree = false |
Was this created in a lock-free context?
Definition at line 230 of file Log.h.
Referenced by Log::installCallback().
| NumberType Log::LogEntry::numberType |
| SeverityLevel Log::LogEntry::severity |
The severity level of this entry.
Definition at line 224 of file Log.h.
Referenced by Log::installCallback().
| bool Log::LogEntry::showTimestamp = true |
| StaticString<LOG_LENGTH> Log::LogEntry::str |
The actual entry text.
Definition at line 226 of file Log.h.
Referenced by Log::copyText(), Log::installCallback(), and LogEntry().
| unsigned int Log::LogEntry::timestamp |