40 #ifndef KIM_FUNCTION_TYPES_HPP_ 49 class LogImplementation;
134 std::string
const &
GetID()
const;
143 void SetID(std::string
const &
id);
176 std::string
const & message,
177 int const lineNumber,
178 std::string
const & fileName)
const;
182 std::stringstream
const & message,
183 int const lineNumber,
184 std::string
const & fileName)
const;
189 void operator=(
Log const &);
194 LogImplementation * pimpl;
198 #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.