44 class LogImplementation;
105 std::string
const &
GetID()
const;
114 void SetID(std::string
const &
id);
147 std::string
const & message,
148 int const lineNumber,
149 std::string
const & fileName)
const;
153 std::stringstream
const & message,
154 int const lineNumber,
155 std::string
const & fileName)
const;
160 void operator=(
Log const &);
165 LogImplementation * pimpl;
169 #endif // KIM_LOG_HPP_ 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.
std::string const & GetID() const
Get the identity of the Log object.
void PopVerbosity()
Pop a LogVerbosity from the Log object's verbosity stack.
An Extensible Enumeration for the LogVerbosity's supported by the KIM API.
Provides the logging interface for the KIM API.
static void PushDefaultVerbosity(LogVerbosity const logVerbosity)
Push a new default LogVerbosity onto the KIM API global default verbosity stack.
static int Create(Log **const log)
Create a new KIM API Log object.
static void PopDefaultVerbosity()
Pop a LogVerbosity from the KIM API global default verbosity stack.
void PushVerbosity(LogVerbosity const logVerbosity)
Push a new LogVerbosity onto the Log object's verbosity stack.
static void Destroy(Log **const log)
Destroy a previously Log::Create'd object.
void SetID(std::string const &id)
Set the identity of the Log object.