Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::log::Debug Class Reference

Provide necessary static methods for the use of ELM_DBG* macros. More...

#include <elm/log/Log.h>

Static Public Member Functions

static elm::String debugPrefix (const char *file, int line)
 

Detailed Description

Provide necessary static methods for the use of ELM_DBG* macros.

Member Function Documentation

elm::String elm::log::Debug::debugPrefix ( const char *  file,
int  line 
)
static

Display prefix of log line, which may include the source path and line number of file, the line number of the log, both or neither

Returns
the string to display

References elm::_, elm::io::align(), elm::log::flags, elm::String::length(), elm::log::NUMBERING, elm::log::prefix_color, elm::color::RCol(), elm::io::RIGHT, elm::log::SOURCE_INFO, elm::log::srcpath_length, elm::String::substring(), elm::io::width(), and elm::color::Yel().


The documentation for this class was generated from the following files: