Home Libraries Author Links

debugaids.hpp File Reference


Detailed Description

Definition of debugging support macros and functions.

Version:
1.09-r320
Date:
2007-11-15 18:15:15 (Tom)
Author:
Tom Michaelis
SysToMath
Wittelsbacherstr. 7
D-80469 Munich
Contact:
http://www.SysToMath.com
mailto:Tom.Michaelis@SysToMath.com
This C++ header file contains debugging support facilities. They are implemented in the C++ inline file debugxaids.hpp and the C++ program file debugaids.cpp belonging to the SysToMath Aids C++ Library stmaids.

Definition in file debugaids.hpp.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  stm

Defines

#define StmDebugAidsErrmsg(msg)   StmDebugAidsErrmsgImpl_ (msg)
 Return the error message msg as std::string.
#define StmDebugAidsVerify(cond)   StmDebugAidsVerifyImpl_ (cond)
 Verify that the boolean condition cond is true.

Enumerations

enum  stm::SyslogFlags {
  stm::SyslogNoLog = 0x00000000,
  stm::SyslogInfo = 0x00000001,
  stm::LogInfo = 0x00000001,
  stm::SyslogWarning = 0x00000002,
  stm::LogWarning = 0x00000002,
  stm::SyslogError = 0x00000003,
  stm::LogError = 0x00000003,
  stm::SyslogLevelMask = 0x00000003,
  stm::LogLevelMask = 0x00000003,
  stm::SyslogPerror = 0x00010000,
  stm::LogPerror = 0x00010000,
  stm::SyslogNoPerror = 0x00020000,
  stm::LogNoPerror = 0x00020000
}
 Syslog flags. More...

Functions

void stm::initSyslog (bool perror=false, const std::string &prog=std::string())
 Initialize syslog().
void stm::syslog (const std::string &message, unsigned int flags=SyslogInfo)
 Output message to the system log according to flags.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).