* @param part name of the part (module name) using the logger instance.
*/
PartLogger::PartLogger(const std::string& part)
-: Part(part), keep_unsafe_chars(false)
+: Part(part), KeepUnsafeChars(false)
{
} // eo PartLogger::PartLogger(const std.:string&)
* currently known extensions: cpp, cxx, c++, cc, C).
*/
PartLogger::PartLogger( const SourceLocation& loc )
-: keep_unsafe_chars(false)
+: KeepUnsafeChars(false)
{
if (loc.Line>0 && ! loc.File.empty())
{
void PartLogger::fatal(const std::string& msg)
{
- log(LOG_EMERG,msg,keep_unsafe_chars);
+ log(LOG_EMERG,msg,KeepUnsafeChars);
} // eo PartLogger::fatal(const std::string&)
void PartLogger::alert(const std::string& msg)
{
- log(LOG_ALERT,msg,keep_unsafe_chars);
+ log(LOG_ALERT,msg,KeepUnsafeChars);
} // eo PartLogger::alert(const std::string&)
void PartLogger::critical(const std::string& msg)
{
- log(LOG_CRIT,msg,keep_unsafe_chars);
+ log(LOG_CRIT,msg,KeepUnsafeChars);
} // eo PartLogger::critical(const std::string&)
void PartLogger::error(const std::string& msg)
{
- log(LOG_ERR, msg,keep_unsafe_chars);
+ log(LOG_ERR, msg,KeepUnsafeChars);
} // eo PartLogger::error(const std::string&)
void PartLogger::warning(const std::string& msg)
{
- log(LOG_WARNING, msg,keep_unsafe_chars);
+ log(LOG_WARNING, msg,KeepUnsafeChars);
} // eo PartLogger::warning(const std::string&)
void PartLogger::notice(const std::string& msg)
{
- log(LOG_NOTICE, msg,keep_unsafe_chars);
+ log(LOG_NOTICE, msg,KeepUnsafeChars);
} // eo PartLogger::notice(const std::string&)
void PartLogger::info(const std::string& msg)
{
- log(LOG_INFO, msg,keep_unsafe_chars);
+ log(LOG_INFO, msg,KeepUnsafeChars);
} // eo PartLogger::info(const std::string&)
void PartLogger::debug(const std::string& msg)
{
- log(LOG_DEBUG, msg,keep_unsafe_chars);
+ log(LOG_DEBUG, msg,KeepUnsafeChars);
} // eo PartLogger::debug(const std::string&)
void PartLogger::set_keep_unsafe_chars(bool _keep_unsafe_chars)
{
- keep_unsafe_chars=_keep_unsafe_chars;
+ KeepUnsafeChars=_keep_unsafe_chars;
}
bool PartLogger::get_keep_unsafe_chars()
{
- return keep_unsafe_chars;
+ return KeepUnsafeChars;
}
PartLogger::LogHelper PartLogger::fatal(const SourceLocation& loc)