sbuild-log.h File Reference

#include <ostream>

Include dependency graph for sbuild-log.h:

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

Go to the source code of this file.

Namespaces

namespace  sbuild

Enumerations

enum  sbuild::DebugLevel {
  sbuild::DEBUG_NONE = -1, sbuild::DEBUG_NOTICE = 1, sbuild::DEBUG_INFO = 2, sbuild::DEBUG_WARNING = 3,
  sbuild::DEBUG_CRITICAL = 4
}
 Debugging level. More...

Functions

std::ostream & sbuild::log_info ()
 Log an informational message.
std::ostream & sbuild::log_warning ()
 Log a warning message.
std::ostream & sbuild::log_error ()
 Log an error message.
std::ostream & sbuild::log_debug (DebugLevel level)
 Log a debug message.
std::ostream & sbuild::log_ctty_info ()
 Log an informational message to the Controlling TTY.
std::ostream & sbuild::log_ctty_warning ()
 Log a warning message to the Controlling TTY.
std::ostream & sbuild::log_ctty_error ()
 Log an error message to the Controlling TTY.
void sbuild::log_exception_warning (std::exception const &e)
 Log an exception as a warning.
void sbuild::log_exception_error (std::exception const &e)
 Log an exception as an error.
void sbuild::log_ctty_exception_warning (std::exception const &e)
 Log an exception as a warning to the Controlling TTY.
void sbuild::log_ctty_exception_error (std::exception const &e)
 Log an exception as an error to the Controlling TTY.
void sbuild::log_unknown_exception_error ()
 Log an unknown exception as an error.

Variables

DebugLevel sbuild::debug_level = sbuild::DEBUG_NONE
 The debugging level in use.


Generated on Sun Mar 22 22:18:18 2009 for sbuild by  doxygen 1.5.8