scc
2022.4.0
SystemC components library
|
the logger class More...
#include <report.h>
Public Member Functions | |
ScLogger (const char *file, int line, int verbosity=sc_core::SC_MEDIUM) | |
ScLogger (const ScLogger &)=delete | |
ScLogger (ScLogger &&)=delete | |
ScLogger & | operator= (const ScLogger &)=delete |
ScLogger & | operator= (ScLogger &&)=delete |
virtual | ~ScLogger () |
the destructor generating the SystemC report | |
ScLogger & | type () |
reset the category of the log entry More... | |
ScLogger & | type (char const *t) |
set the category of the log entry More... | |
ScLogger & | type (std::string const &t) |
set the category of the log entry More... | |
std::ostream & | get () |
get the underlying ostringstream More... | |
Protected Attributes | |
std::ostringstream | os {} |
char * | t {nullptr} |
const char * | file |
const int | line |
const int | level |
the logger class
The ScLogger creates a RTTI based output stream to be used similar to std::cout
SEVERITY |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |