Definition at line 51 of file RFLog.hh.
◆ RFLog()
RestFrames::RFLog::RFLog |
( |
const std::string & |
source, |
|
|
LogType |
def_type = LogInfo |
|
) |
| |
Standard constructor.
- Parameters
-
source | Name of instance that is associated with |
def_type | Logtype |
Definition at line 45 of file RFLog.cc.
◆ EndMessage()
RFLog & RestFrames::RFLog::EndMessage |
( |
RFLog & |
log | ) |
|
|
static |
Sets end message for log
- Parameters
-
Definition at line 166 of file RFLog.cc.
◆ operator<<() [1/5]
Overloading operator.
- Parameters
-
Definition at line 172 of file RFLog.hh.
◆ operator<<() [2/5]
Overloading operator.
- Parameters
-
Definition at line 158 of file RFLog.hh.
◆ operator<<() [3/5]
RFLog & RestFrames::RFLog::operator<< |
( |
std::ios &(*)(std::ios &) |
_f | ) |
|
|
inline |
Overloading operator.
- Parameters
-
Definition at line 167 of file RFLog.hh.
◆ operator<<() [4/5]
RFLog & RestFrames::RFLog::operator<< |
( |
std::ostream &(*)(std::ostream &) |
_f | ) |
|
|
inline |
Overloading operator.
- Parameters
-
Definition at line 162 of file RFLog.hh.
◆ operator<<() [5/5]
template<class T >
RFLog& RestFrames::RFLog::operator<< |
( |
T |
arg | ) |
|
|
inline |
◆ SetSource()
void RestFrames::RFLog::SetSource |
( |
const std::string & |
source | ) |
|
Sets name of instance that is associated with.
- Parameters
-
Definition at line 182 of file RFLog.cc.
◆ SetLogColor
void SetLogColor |
( |
bool |
color = true | ) |
|
|
friend |
Sets color of message.
- Parameters
-
Definition at line 200 of file RFLog.cc.
◆ SetLogMaxWidth
void SetLogMaxWidth |
( |
int |
NMAX | ) |
|
|
friend |
Sets maximum width of message.
- Parameters
-
NMAX | Maximum width of message |
- Warning
- If NMAX is not bigger than 0, it won't be set
Definition at line 204 of file RFLog.cc.
◆ SetLogPrint [1/2]
void SetLogPrint |
( |
bool |
print = true | ) |
|
|
friend |
Sets logging to print (print = true) or to not print (print = false)
- Parameters
-
Definition at line 190 of file RFLog.cc.
◆ SetLogPrint [2/2]
void SetLogPrint |
( |
LogType |
type, |
|
|
bool |
print = true |
|
) |
| |
|
friend |
Sets a type of logging to print (print = true) or to not print (print = false)
- Parameters
-
print | Boolean to be set |
type | LogType |
Definition at line 186 of file RFLog.cc.
◆ SetLogStream
void SetLogStream |
( |
std::ostream * |
ostr | ) |
|
|
friend |
Sets output stream.
- Parameters
-
Definition at line 196 of file RFLog.cc.
The documentation for this class was generated from the following files: