|
template<typename ... TT> |
| Logger (const char *filename, const TT &...args) |
| Start logging,. More...
|
|
template<typename ... TT> |
| Logger (Log &log, const char *filename, const TT &...args) |
| Start logging,. More...
|
|
bool | isLevel (level_t l) |
| Returns true, if the log monitor level is at least l. More...
|
|
bool | isDebug (level_t l=0) |
| Returns true, if the debug level of the monitor is at least l. More...
|
|
template<int L, typename ... TT> |
Logger & | start (const TT &... args) |
| General.
|
|
template<typename ... TT> |
Logger & | quit (const TT &... args) |
| Quits immediately, dumps pending messages.
|
|
template<typename ... TT> |
Logger & | alert (const TT &... args) |
| Quits immediately, dumps pending messages.
|
|
template<typename ... TT> |
Logger & | critical (const TT &... args) |
| Quits immediately, dumps pending messages.
|
|
template<typename ... TT> |
Logger & | error (const TT &... args) |
| Echoes.
|
|
template<typename ... TT> |
Logger & | warn (const TT &... args) |
| Possible error, but execution can continue.
|
|
template<int L = LOG_WARNING, typename ... TT> |
Logger & | discouraged (const TT &... args) |
| Warning on user's convention or action that can potentially cause errors or confusions.
|
|
template<int L = LOG_WARNING, typename ... TT> |
Logger & | fail (const TT &... args) |
| Possible error, but execution can continue. Special type of Logger::warn().
|
|
template<int L = LOG_WARNING, typename ... TT> |
Logger & | obsolete (const TT &... args) |
| Feature has been removed. Special type of Logger::warn(). More...
|
|
template<int L = LOG_WARNING, typename ... TT> |
Logger & | attention (const TT &... args) |
| Possible error, but execution can continue. Special type of Logger::warn().
|
|
template<typename ... TT> |
Logger & | note (const TT &... args) |
| For top-level information.
|
|
template<int L = LOG_NOTICE, typename ... TT> |
Logger & | suspicious (const TT &... args) |
| A weak warning about something going possibly wrong.
|
|
template<int L = LOG_NOTICE, typename ... TT> |
Logger & | unimplemented (const TT &... args) |
| Feature to be done. Special type of Logger::note(). More...
|
|
template<int L = LOG_NOTICE, typename ... TT> |
Logger & | deprecating (const TT &... args) |
| Feature will be removed. Special type of Logger::note(). More...
|
|
template<int L = LOG_NOTICE, typename ... TT> |
Logger & | special (const TT &... args) |
| Other useful information.
|
|
template<int L = LOG_NOTICE, typename ... TT> |
Logger & | experimental (const TT &... args) |
|
template<int L = LOG_NOTICE, typename ... TT> |
Logger & | advice (const TT &... args) |
|
template<typename ... TT> |
Logger & | info (const TT &... args) |
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | ok (const TT &... args) |
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | accept (const TT &... args) |
| Some input has been accepted, for example by a syntax.
|
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | pending (const TT &... args) |
| Report a conditional accept/reject, to be completed next. More...
|
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | reject (const TT &... args) |
| Some input has been rejected, for example by a syntax. More...
|
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | success (const TT &... args) |
| Some processing step has completed with desired result.
|
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | hint (const TT &... args) |
| Like advice, but weaker.
|
|
template<int L = LOG_INFO, typename ... TT> |
Logger & | revised (const TT &... args) |
|
template<typename ... TT> |
Logger & | debug (const TT &... args) |
| Public, yet typically used "internally", when TIMING=true. More...
|
|
template<typename ... TT> |
Logger & | debug2 (const TT &... args) |
| Debug information.
|
|
template<typename ... TT> |
Logger & | debug3 (const TT &... args) |
|
Logger & | log (level_t level) |
|
template<typename ... TT> |
Logger & | operator() (const TT &... args) |
|
void | startTiming () |
| Send a short [INFO] preceded with a time stamp. More...
|
|
template<typename ... TT> |
void | startTiming (const TT &... args) |
|
void | endTiming () |
|
Logger & | operator<< (const std::ostream &sstr) |
| Send a longer [INFO] preceded with a time stamp. More...
|
|
template<class T > |
Logger & | operator<< (const T &x) |
|
void | end () |
|
Logger & | operator<< (oper op) |
| Handling flush operator.
|
|
Logger & | operator<< (const Logger &l) |
| NEW: sending "mout" insread of "mout.endl" Handling flush operator.
|
|
int | getVerbosity () const |
|
template<> |
void | append (const TextStyle::Colour &colour) |
|
| StreamBuilder (const TT &... args) |
|
StreamBuilder & | create (const TT &... args) |
|
StreamBuilder & | add (const T &arg, const TT &... args) |
|
LogSourc e is the means for a function or any program segment to "connect" to a Log.
- Examples
- Castable-example.cpp, and ReferenceMap-example.cpp.