37#ifndef KIM_FUNCTION_TYPES_HPP_
46class LogImplementation;
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;
An Extensible Enumeration for the LanguageName's supported by the KIM API.
Provides the logging interface for the KIM API.
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 PopDefaultPrintFunction()
Pop a log PrintFunction from the KIM API global default log PrintFunction stack.
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 int Create(Log **const log)
Create a new KIM API Log object.
static void Destroy(Log **const log)
Destroy a previously Log::Create'd object.
static void PushDefaultVerbosity(LogVerbosity const logVerbosity)
Push a new default LogVerbosity onto the KIM API global default verbosity stack.
void PushVerbosity(LogVerbosity const logVerbosity)
Push a new LogVerbosity onto the Log object's verbosity stack.
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 o...
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 PopDefaultVerbosity()
Pop a LogVerbosity from the KIM API global default verbosity stack.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
void() Function(void)
Generic function type.