Provides the logging interface for the KIM API.
More...
#include <KIM_Log.hpp>
|
std::string const & | GetID () const |
| Get the identity of the Log object. More...
|
|
void | SetID (std::string const &id) |
| Set the identity of the Log object. More...
|
|
void | PushVerbosity (LogVerbosity const logVerbosity) |
| Push a new LogVerbosity onto the Log object's verbosity stack. More...
|
|
void | PopVerbosity () |
| Pop a LogVerbosity from the Log object's verbosity stack. More...
|
|
void | LogEntry (LogVerbosity const logVerbosity, std::string const &message, int const lineNumber, std::string const &fileName) const |
| Write a log entry into the log file. More...
|
|
void | LogEntry (LogVerbosity const logVerbosity, std::stringstream const &message, int const lineNumber, std::string const &fileName) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
Provides the logging interface for the KIM API.
- See also
- KIM_Log, kim_log_module::kim_log_handle_type
- Since
- 2.0
Definition at line 53 of file KIM_Log.hpp.
◆ Create()
static int KIM::Log::Create |
( |
Log **const |
log | ) |
|
|
static |
◆ Destroy()
static void KIM::Log::Destroy |
( |
Log **const |
log | ) |
|
|
static |
◆ GetID()
std::string const & KIM::Log::GetID |
( |
| ) |
const |
◆ LogEntry() [1/2]
void KIM::Log::LogEntry |
( |
LogVerbosity const |
logVerbosity, |
|
|
std::string const & |
message, |
|
|
int const |
lineNumber, |
|
|
std::string const & |
fileName |
|
) |
| const |
◆ LogEntry() [2/2]
void KIM::Log::LogEntry |
( |
LogVerbosity const |
logVerbosity, |
|
|
std::stringstream const & |
message, |
|
|
int const |
lineNumber, |
|
|
std::string const & |
fileName |
|
) |
| const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ PopDefaultPrintFunction()
static void KIM::Log::PopDefaultPrintFunction |
( |
| ) |
|
|
static |
◆ PopDefaultVerbosity()
static void KIM::Log::PopDefaultVerbosity |
( |
| ) |
|
|
static |
◆ PopVerbosity()
void KIM::Log::PopVerbosity |
( |
| ) |
|
◆ PushDefaultPrintFunction()
static void KIM::Log::PushDefaultPrintFunction |
( |
LanguageName const |
languageName, |
|
|
Function *const |
fptr |
|
) |
| |
|
static |
◆ PushDefaultVerbosity()
static void KIM::Log::PushDefaultVerbosity |
( |
LogVerbosity const |
logVerbosity | ) |
|
|
static |
◆ PushVerbosity()
void KIM::Log::PushVerbosity |
( |
LogVerbosity const |
logVerbosity | ) |
|
◆ SetID()
void KIM::Log::SetID |
( |
std::string const & |
id | ) |
|
The documentation for this class was generated from the following file: