program_wide_logger.h File Reference

#include "build_configuration.h"

Include dependency graph for program_wide_logger.h:

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

Go to the source code of this file.

Functions

log_base BASIS_EXTERN & program_wide_logger ()
 Provided by the startup code within each application for logging.
locked_logger BASIS_EXTERN & real_program_wide_logger ()
 allows the underlying logging facility to be accessed.
log_base BASIS_EXTERN * retask_program_wide_logger (log_base *new_logger)
 Changes the log_base object used for this program's logging.


Function Documentation

log_base BASIS_EXTERN& program_wide_logger (  ) 

locked_logger BASIS_EXTERN& real_program_wide_logger (  ) 

allows the underlying logging facility to be accessed.

Definition at line 37 of file program_wide_logger.cpp.

References SAFE_STATIC_IMPLEMENTATION.

Referenced by program_wide_logger(), retask_program_wide_logger(), and program_wide_cleanup::~program_wide_cleanup().

log_base BASIS_EXTERN* retask_program_wide_logger ( log_base new_logger  ) 

Changes the log_base object used for this program's logging.

The previous log_base is returned; it should be deleted if it was dynamically allocated. if the "new_logger" should not be deleted on program exit, then it should be retasked with NIL or with a disposable logger.

Definition at line 55 of file program_wide_logger.cpp.

References real_program_wide_logger(), and locked_object< contents >::swap().

Referenced by EVT_COMMAND(), tiny_shell::OnClose(), tiny_shell::OnCreate(), set_PW_logger_for_combo(), set_PW_logger_for_console(), set_PW_logger_for_file(), set_PW_logger_for_null(), and application_shell::swap_logger().


Generated on Mon Jul 26 04:22:49 2010 for HOOPLE Libraries by  doxygen 1.5.6