37 #ifndef KIM_FUNCTION_TYPES_HPP_ 46 class LogImplementation;
131 std::string
const &
GetID()
const;
140 void SetID(std::string
const &
id);
173 std::string
const & message,
174 int const lineNumber,
175 std::string
const & fileName)
const;
179 std::stringstream
const & message,
180 int const lineNumber,
181 std::string
const & fileName)
const;
186 void operator=(
Log const &);
191 LogImplementation * pimpl;
195 #endif // KIM_LOG_HPP_
static void PushDefaultVerbosity(LogVerbosity const logVerbosity)
Push a new default LogVerbosity onto the KIM API global default verbosity stack.
std::string const & GetID() const
Get the identity of the Log object.
void PopVerbosity()
Pop a LogVerbosity from the Log object's verbosity stack.
static void PopDefaultVerbosity()
Pop a LogVerbosity from the KIM API global default verbosity stack.
Provides the logging interface for the KIM API.
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.
static void PopDefaultPrintFunction()
Pop a log PrintFunction from the KIM API global default log PrintFunction stack.
void() Function(void)
Generic function type.
void SetID(std::string const &id)
Set the identity of the Log object.
static void PushDefaultPrintFunction(LanguageName const languageName, Function *const fptr)
Push a new default log PrintFunction onto the KIM API global default log PrintFunction stack...
static void Destroy(Log **const log)
Destroy a previously Log::Create'd object.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
An Extensible Enumeration for the LanguageName's supported by the KIM API.
void PushVerbosity(LogVerbosity const logVerbosity)
Push a new LogVerbosity onto the Log object's verbosity stack.
static int Create(Log **const log)
Create a new KIM API Log object.