#include <Log4SX.h>
|
EXL | ListLogger () |
|
EXL | ~ListLogger () |
|
EXL Logger & | operator<< (const Level level) |
|
EXL Logger & | operator<< (const LogMarkup m) |
|
EXL Logger & | operator<< (const Annotation a) |
|
EXL Logger & | operator<< (char value) |
|
EXL Logger & | operator<< (unsigned char value) |
|
EXL Logger & | operator<< (short value) |
|
EXL Logger & | operator<< (unsigned short value) |
|
EXL Logger & | operator<< (int value) |
|
EXL Logger & | operator<< (unsigned int value) |
|
EXL Logger & | operator<< (long value) |
|
EXL Logger & | operator<< (unsigned long value) |
|
EXL Logger & | operator<< (float value) |
|
EXL Logger & | operator<< (double value) |
|
EXL Logger & | operator<< (string value) |
|
EXL map< string, ListMarkup > & | getMarkups () |
|
EXL Annotation | getAnnotationEntry (string ID, unsigned int index) |
|
EXL char | getCharEntry (string ID, unsigned int index) |
|
EXL unsigned char | getUcharEntry (string ID, unsigned int index) |
|
EXL short | getShortEntry (string ID, unsigned int index) |
|
EXL unsigned short | getUshortEntry (string ID, unsigned int index) |
|
EXL int | getIntEntry (string ID, unsigned int index) |
|
EXL unsigned int | getUintEntry (string ID, unsigned int index) |
|
EXL long | getLongEntry (string ID, unsigned int index) |
|
EXL unsigned long | getUlongEntry (string ID, unsigned int index) |
|
EXL float | getFloatEntry (string ID, unsigned int index) |
|
EXL double | getDoubleEntry (string ID, unsigned int index) |
|
EXL string | getStringEntry (string ID, unsigned int index) |
|
virtual EXL | ~Logger () |
|
EXL void | setMinLevel (LogLevel level) |
|
EXL LogLevel | getMinLevel () const |
|
EXL LogLevel | getLevel () const |
|
A Logger, which passes messages to the list compatible with the type of the message.
- See also
- sx::Logger
EXL sx::ListLogger::ListLogger |
( |
| ) |
|
EXL sx::ListLogger::~ListLogger |
( |
| ) |
|
EXL Annotation sx::ListLogger::getAnnotationEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL char sx::ListLogger::getCharEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL double sx::ListLogger::getDoubleEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL float sx::ListLogger::getFloatEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL int sx::ListLogger::getIntEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL long sx::ListLogger::getLongEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL map<string,ListMarkup>& sx::ListLogger::getMarkups |
( |
| ) |
|
Returns a map of all markups, each associated with its markup message. Each markup is holding the messages passed to the markup.
- Returns
- map of all markups
EXL short sx::ListLogger::getShortEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL string sx::ListLogger::getStringEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL unsigned char sx::ListLogger::getUcharEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL unsigned int sx::ListLogger::getUintEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL unsigned long sx::ListLogger::getUlongEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL unsigned short sx::ListLogger::getUshortEntry |
( |
string |
ID, |
|
|
unsigned int |
index |
|
) |
| |
Searches the markup associated with ID, and returns the list entry on position index of the considered list in the markup. If the entry can't be extracted, an exception is thrown.
- Parameters
-
ID | identifyer of the markup |
index | index of the entry in the coresponding list |
- Returns
- entry at position index the list of markup associated to ID
- Exceptions
-
in | the case of an error, an exception of type Exception is thrown |
EXL Logger& sx::ListLogger::operator<< |
( |
const Level |
level | ) |
|
|
virtual |
Appends a ListMarkup equivalent to m to the log, and uses it as the default markup, until a new default markup is set. Messages are always posted to the current default markup.
- See also
- sx::Logger::operator << (const LogMarkup)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
char |
value | ) |
|
|
virtual |
Pushes value onto the back end of chars.
- See also
- sx::Logger::operator << (char value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
unsigned char |
value | ) |
|
|
virtual |
Pushes value onto the back end of uchars.
- See also
- sx::Logger::operator << (unsigned char value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
short |
value | ) |
|
|
virtual |
Pushes value onto the back end of shorts.
- See also
- sx::Logger::operator << (short value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
unsigned short |
value | ) |
|
|
virtual |
Pushes value onto the back end of ushorts.
- See also
- sx::Logger::operator << (unsigned short value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
int |
value | ) |
|
|
virtual |
Pushes value onto the back end of ints.
- See also
- sx::Logger::operator << (int value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
unsigned int |
value | ) |
|
|
virtual |
Pushes value onto the back end of uints.
- See also
- sx::Logger::operator << (unsigned int value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
long |
value | ) |
|
|
virtual |
Pushes value onto the back end of longs.
- See also
- sx::Logger::operator << (long value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
unsigned long |
value | ) |
|
|
virtual |
Pushes value onto the back end of ulongs.
- See also
- sx::Logger::operator << (unsigned long value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
float |
value | ) |
|
|
virtual |
Pushes value onto the back end of floats.
- See also
- sx::Logger::operator << (float value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
double |
value | ) |
|
|
virtual |
Pushes value onto the back end of doubles.
- See also
- sx::Logger::operator << (double value)
Implements sx::Logger.
EXL Logger& sx::ListLogger::operator<< |
( |
string |
value | ) |
|
|
virtual |
Pushes value onto the back end of strings.
- See also
- sx::Logger::operator << (const string value)
Implements sx::Logger.
The documentation for this class was generated from the following file: