Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_filter.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_filter.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_filter.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_filter.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,66 @@ + + +activemq-cpp: activemq::logger::Filter Class Reference + + + + +
+
+
+
+ +

activemq::logger::Filter Class Reference

#include <Filter.h> +

+List of all members. + + + + +

Public Member Functions

virtual bool isLoggable (const LogRecord &record) const =0
+


Detailed Description

+A Filter can be used to provide fine grain control over what is logged, beyond the control provided by log levels.

+Each Logger and each Handler can have a filter associated with it. The Logger or Handler will call the isLoggable method to check if a given LogRecord should be published. If isLoggable returns false, the LogRecord will be discarded. +

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual bool activemq::logger::Filter::isLoggable (const LogRecord &  record  )  const [pure virtual]
+
+
+ +

+Check if a given log record should be published.

Parameters:
+ + +
record the LogRecord to check.
+
+
Returns:
true if the record is loggable.
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter-members.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter-members.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter-members.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter-members.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,28 @@ + + +activemq-cpp: Member List + + + + +
+
+
+
+

activemq::logger::Formatter Member List

This is the complete list of members for activemq::logger::Formatter, including all inherited members.

+ + + + +
format(const LogRecord &record) const =0activemq::logger::Formatter [pure virtual]
formatMessage(const LogRecord &record) const =0activemq::logger::Formatter [pure virtual]
getHead(const Handler *handler)=0activemq::logger::Formatter [pure virtual]
getTail(const Handler *handler)=0activemq::logger::Formatter [pure virtual]


Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,164 @@ + + +activemq-cpp: activemq::logger::Formatter Class Reference + + + + +
+
+
+
+ +

activemq::logger::Formatter Class Reference

#include <Formatter.h> +

+

Inheritance diagram for activemq::logger::Formatter: +

+ +activemq::logger::SimpleFormatter + +List of all members. + + + + + + + + + + +

Public Member Functions

virtual std::string format (const LogRecord &record) const =0
virtual std::string formatMessage (const LogRecord &record) const =0
virtual std::string getHead (const Handler *handler)=0
virtual std::string getTail (const Handler *handler)=0
+

Detailed Description

+A Formatter provides support for formatting LogRecords.

+Typically each logging Handler will have a Formatter associated with it. The Formatter takes a LogRecord and converts it to a string.

+Some formatters (such as the XMLFormatter) need to wrap head and tail strings around a set of formatted records. The getHeader and getTail methods can be used to obtain these strings. +

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual std::string activemq::logger::Formatter::format (const LogRecord &  record  )  const [pure virtual]
+
+
+ +

+Format the given log record and return the formatted string.

Parameters:
+ + +
record The Log Record to Format
+
+
Returns:
the formatted record.
+ +

+Implemented in activemq::logger::SimpleFormatter. +

+

+ +

+
+ + + + + + + + + +
virtual std::string activemq::logger::Formatter::formatMessage (const LogRecord &  record  )  const [pure virtual]
+
+
+ +

+Format the message string from a log record.

Parameters:
+ + +
record The Log Record to Format
+
+
Returns:
the formatted message
+ +

+Implemented in activemq::logger::SimpleFormatter. +

+

+ +

+
+ + + + + + + + + +
virtual std::string activemq::logger::Formatter::getHead (const Handler handler  )  [pure virtual]
+
+
+ +

+Return the header string for a set of formatted records. In the default implementation this method should return empty string

Parameters:
+ + +
handler the target handler, can be null
+
+
Returns:
the head string
+ +

+Implemented in activemq::logger::SimpleFormatter. +

+

+ +

+
+ + + + + + + + + +
virtual std::string activemq::logger::Formatter::getTail (const Handler handler  )  [pure virtual]
+
+
+ +

+Return the tail string for a set of formatted records. In the default implementation this method should return empty string

Parameters:
+ + +
handler the target handler, can be null
+
+
Returns:
the tail string
+ +

+Implemented in activemq::logger::SimpleFormatter. +

+

+


The documentation for this class was generated from the following file: +
Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.png URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.png?rev=428212&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_formatter.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler-members.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler-members.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler-members.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler-members.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,34 @@ + + +activemq-cpp: Member List + + + + +
+
+
+
+

activemq::logger::Handler Member List

This is the complete list of members for activemq::logger::Handler, including all inherited members.

+ + + + + + + + + + +
close()=0cms::Closeable [pure virtual]
flush(void)=0activemq::logger::Handler [pure virtual]
getFilter(void)=0activemq::logger::Handler [pure virtual]
getFormatter(void)=0activemq::logger::Handler [pure virtual]
getLevel(void)=0activemq::logger::Handler [pure virtual]
isLoggable(const LogRecord &record)=0activemq::logger::Handler [pure virtual]
publish(const LogRecord &record)=0activemq::logger::Handler [pure virtual]
setFilter(const Filter *filter)=0activemq::logger::Handler [pure virtual]
setFormatter(const Formatter *formatter)=0activemq::logger::Handler [pure virtual]
setLevel(Level value)=0activemq::logger::Handler [pure virtual]


Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,274 @@ + + +activemq-cpp: activemq::logger::Handler Class Reference + + + + +
+
+
+
+ +

activemq::logger::Handler Class Reference

#include <Handler.h> +

+

Inheritance diagram for activemq::logger::Handler: +

+ +cms::Closeable + +List of all members. + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual void flush (void)=0
virtual void publish (const LogRecord &record)=0
virtual void isLoggable (const LogRecord &record)=0
virtual void setFilter (const Filter *filter)=0
virtual const FiltergetFilter (void)=0
virtual void setLevel (Level value)=0
virtual Level getLevel (void)=0
virtual void setFormatter (const Formatter *formatter)=0
virtual const FormattergetFormatter (void)=0
+

Detailed Description

+A Handler object takes log messages from a Logger and exports them. It might for example, write them to a console or write them to a file, or send them to a network logging service, or forward them to an OS log, or whatever.

+A Handler can be disabled by doing a setLevel(Level.OFF) and can be re-enabled by doing a setLevel with an appropriate level.

+Handler classes typically use LogManager properties to set default values for the Handler's Filter, Formatter, and Level. See the specific documentation for each concrete Handler class. +

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual void activemq::logger::Handler::flush (void   )  [pure virtual]
+
+
+ +

+Flush the Handler's output, clears any buffers. +

+

+ +

+
+ + + + + + + + + +
virtual const Filter* activemq::logger::Handler::getFilter (void   )  [pure virtual]
+
+
+ +

+Gets the Filter that this Handler uses to filter Log Records

Returns:
Filter derived instance
+ +
+

+ +

+
+ + + + + + + + + +
virtual const Formatter* activemq::logger::Handler::getFormatter (void   )  [pure virtual]
+
+
+ +

+Gets the Formatter used by this Handler

Returns:
Filter derived instance
+ +
+

+ +

+
+ + + + + + + + + +
virtual Level activemq::logger::Handler::getLevel (void   )  [pure virtual]
+
+
+ +

+Get the log level specifying which message levels will be logged by this Handler.

Returns:
Level enumeration value
+ +
+

+ +

+
+ + + + + + + + + +
virtual void activemq::logger::Handler::isLoggable (const LogRecord &  record  )  [pure virtual]
+
+
+ +

+Check if this Handler would actually log a given LogRecord.

+This method checks if the LogRecord has an appropriate Level and whether it satisfies any Filter. It also may make other Handler specific checks that might prevent a handler from logging the LogRecord.

Parameters:
+ + +
record LogRecord to check
+
+ +
+

+ +

+
+ + + + + + + + + +
virtual void activemq::logger::Handler::publish (const LogRecord &  record  )  [pure virtual]
+
+
+ +

+Publish the Log Record to this Handler

Parameters:
+ + +
record The Log Record to Publish
+
+ +
+

+ +

+
+ + + + + + + + + +
virtual void activemq::logger::Handler::setFilter (const Filter filter  )  [pure virtual]
+
+
+ +

+Sets the Filter that this Handler uses to filter Log Records

+For each call of publish the Handler will call this Filter (if it is non-null) to check if the LogRecord should be published or discarded.

Parameters:
+ + +
filter Filter derived instance
+
+ +
+

+ +

+
+ + + + + + + + + +
virtual void activemq::logger::Handler::setFormatter (const Formatter formatter  )  [pure virtual]
+
+
+ +

+Sets the Formatter used by this Handler

+Some Handlers may not use Formatters, in which case the Formatter will be remembered, but not used.

Parameters:
+ + +
formatter Filter derived instance
+
+ +
+

+ +

+
+ + + + + + + + + +
virtual void activemq::logger::Handler::setLevel (Level  value  )  [pure virtual]
+
+
+ +

+Set the log level specifying which message levels will be logged by this Handler.

+The intention is to allow developers to turn on voluminous logging, but to limit the messages that are sent to certain Handlers.

Parameters:
+ + +
value Level enumeration value
+
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.png URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.png?rev=428212&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_handler.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager-members.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager-members.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager-members.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager-members.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,37 @@ + + +activemq-cpp: Member List + + + + +
+
+
+
+

activemq::logger::LogManager Member List

This is the complete list of members for activemq::logger::LogManager, including all inherited members.

+ + + + + + + + + + + + + +
addPropertyChangeListener(PropertyChangeListener *listener)activemq::logger::LogManager [virtual]
destroy(void)activemq::logger::LogManager [static]
getInstance(void)activemq::logger::LogManager [static]
getLogger(const std::string &name)activemq::logger::LogManager [virtual]
getLoggerNames(const std::vector< std::string > &names)activemq::logger::LogManager [virtual]
getProperties(void) const activemq::logger::LogManager [inline, virtual]
getProperty(const std::string &name)activemq::logger::LogManager [inline, virtual]
LogManager(void)activemq::logger::LogManager [inline, protected]
LogManager(const LogManager &manager)activemq::logger::LogManager [protected]
operator=(const LogManager &manager)activemq::logger::LogManager [protected]
removePropertyChangeListener(PropertyChangeListener *listener)activemq::logger::LogManager [virtual]
returnInstance(void)activemq::logger::LogManager [static]
setProperties(const util::Properties *properties)activemq::logger::LogManager [virtual]


Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_log_manager.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,386 @@ + + +activemq-cpp: activemq::logger::LogManager Class Reference + + + + +
+
+
+
+ +

activemq::logger::LogManager Class Reference

#include <LogManager.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual void setProperties (const util::Properties *properties)
virtual const util::PropertiesgetProperties (void) const
virtual std::string getProperty (const std::string &name)
virtual void addPropertyChangeListener (PropertyChangeListener *listener)
virtual void removePropertyChangeListener (PropertyChangeListener *listener)
virtual Logger * getLogger (const std::string &name)
virtual int getLoggerNames (const std::vector< std::string > &names)

Static Public Member Functions

static LogManagergetInstance (void)
static void returnInstance (void)
static void destroy (void)

Protected Member Functions

 LogManager (void)
 LogManager (const LogManager &manager)
void operator= (const LogManager &manager)
+


Detailed Description

+There is a single global LogManager object that is used to maintain a set of shared state about Loggers and log services.

+This LogManager object:

+* Manages a hierarchical namespace of Logger objects. All named Loggers are stored in this namespace. * Manages a set of logging control properties. These are simple key-value pairs that can be used by Handlers and other logging objects to configure themselves.

+The global LogManager object can be retrieved using LogManager.getLogManager(). The LogManager object is created during class initialization and cannot subsequently be changed.

+***TODO**** By default, the LogManager reads its initial configuration from a properties file "lib/logging.properties" in the JRE directory. If you edit that property file you can change the default logging configuration for all uses of that JRE.

+In addition, the LogManager uses two optional system properties that allow more control over reading the initial configuration:

+* "decaf.logger.config.class" * "decaf.logger.config.file"

+These two properties may be set via the Preferences API, or as command line property definitions to the "java" command, or as system property definitions passed to JNI_CreateJavaVM.

+If the "java.util.logging.config.class" property is set, then the property value is treated as a class name. The given class will be loaded, an object will be instantiated, and that object's constructor is responsible for reading in the initial configuration. (That object may use other system properties to control its configuration.) The alternate configuration class can use readConfiguration(InputStream) to define properties in the LogManager.

+If "java.util.logging.config.class" property is not set, then the "java.util.logging.config.file" system property can be used to specify a properties file (in java.util.Properties format). The initial logging configuration will be read from this file.

+If neither of these properties is defined then, as described above, the LogManager will read its initial configuration from a properties file "lib/logging.properties" in the JRE directory.

+The properties for loggers and Handlers will have names starting with the dot-separated name for the handler or logger. ***TODO****

+The global logging properties may include:

+* A property "handlers". This defines a whitespace separated list of class names for handler classes to load and register as handlers on the root Logger (the Logger named ""). Each class name must be for a Handler class which has a default constructor. Note that these Handlers may be created lazily, when they are first used. * A property "<logger>.handlers". This defines a whitespace or comma separated list of class names for handlers classes to load and register as handlers to the specified logger. Each class name must be for a Handler class which has a default constructor. Note that these Handlers may be created lazily, when they are first used. * A property "<logger>.useParentHandlers". This defines a boolean value. By default every logger calls its parent in addition to handling the logging message itself, this often result in me ssages being handled by the root logger as well. When setting this property to false a Handler needs to be configured for this logger otherwise no logging messages are delivered. * A property "config". This property is intended to allow arbitrary configuration code to be run. The property defines a whitespace separated list of class names. A new instance will be created for each named class. The default constructor of each class may execute arbitrary code to update the logging configuration, such as setting logger levels, adding handlers, adding filters, etc.

+Loggers are organized into a naming hierarchy based on their dot separated names. Thus "a.b.c" is a child of "a.b", but "a.b1" and a.b2" are peers.

+All properties whose names end with ".level" are assumed to define log levels for Loggers. Thus "foo.level" defines a log level for the logger called "foo" and (recursively) for any of its children in the naming hierarchy. Log Levels are applied in the order they are defined in the properties file. Thus level settings for child nodes in the tree should come after settings for their parents. The property name ".level" can be used to set the level for the root of the tree.

+All methods on the LogManager object are multi-thread safe. +

+


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
activemq::logger::LogManager::LogManager (void   )  [inline, protected]
+
+
+ +

+Constructor, hidden to protect against direct instantiation +

+

+ +

+
+ + + + + + + + + +
activemq::logger::LogManager::LogManager (const LogManager manager  )  [protected]
+
+
+ +

+Copy Constructo

Parameters:
+ + +
manager the Manager to copy
+
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
void LogManager::addPropertyChangeListener (PropertyChangeListener *  listener  )  [virtual]
+
+
+ +

+Adds a change listener for LogManager Properties, adding the same instance of a change event listener does nothing.

Parameters:
+ + +
listener a PropertyChangeListener
+
+ +
+

+ +

+
+ + + + + + + + + +
void LogManager::destroy (void   )  [static]
+
+
+ +

+Forcefully Delete the Instance of this LogManager even if there are outstanding references. +

+

+ +

+
+ + + + + + + + + +
LogManager * LogManager::getInstance (void   )  [static]
+
+
+ +

+Get the singleton instance

Returns:
Pointer to an instance of the Log Manager
+ +
+

+ +

+
+ + + + + + + + + +
Logger * LogManager::getLogger (const std::string &  name  )  [virtual]
+
+
+ +

+Retrieves or creates a new Logger using the name specified a new logger inherits the configuration of the logger's parent if there is no configuration data for the logger.

Parameters:
+ + +
name The name of the Logger.
+
+ +
+

+ +

+
+ + + + + + + + + +
int LogManager::getLoggerNames (const std::vector< std::string > &  names  )  [virtual]
+
+
+ +

+Gets a list of known Logger Names from this Manager

Parameters:
+ + +
names STL Vector to hold string logger names
+
+
Returns:
names count of how many loggers were inserted
+ +
+

+ +

+
+ + + + + + + + + +
virtual const util::Properties& activemq::logger::LogManager::getProperties (void   )  const [inline, virtual]
+
+
+ +

+Gets a reference to the Logging Properties used by this logger.

Returns:
The Logger Properties Pointer
+ +
+

+ +

+
+ + + + + + + + + +
virtual std::string activemq::logger::LogManager::getProperty (const std::string &  name  )  [inline, virtual]
+
+
+ +

+Gets the value of a named property of this LogManager

Parameters:
+ + +
name of the Property to retrieve
+
+
Returns:
the value of the property
+ +
+

+ +

+
+ + + + + + + + + +
void activemq::logger::LogManager::operator= (const LogManager manager  )  [protected]
+
+
+ +

+Assignment operator

Parameters:
+ + +
manager the manager to assign from
+
+ +
+

+ +

+
+ + + + + + + + + +
void LogManager::removePropertyChangeListener (PropertyChangeListener *  listener  )  [virtual]
+
+
+ +

+Removes a properties change listener from the LogManager.

Parameters:
+ + +
listener a PropertyChangeListener
+
+ +
+

+ +

+
+ + + + + + + + + +
void LogManager::returnInstance (void   )  [static]
+
+
+ +

+Returns a Checked out instance of this Manager +

+

+ +

+
+ + + + + + + + + +
void LogManager::setProperties (const util::Properties properties  )  [virtual]
+
+
+ +

+Sets the Properties this LogManager should use to configure its loggers. Once set a properties change event is fired.

Parameters:
+ + +
properties Pointer to read the configuration from
+
+ +
+

+


The documentation for this class was generated from the following files: +
Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger-members.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger-members.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger-members.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger-members.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,25 @@ + + +activemq-cpp: Member List + + + + +
+
+
+
+

activemq::logger::MarkBlockLogger Member List

This is the complete list of members for activemq::logger::MarkBlockLogger, including all inherited members.

+ +
MarkBlockLogger(Logger *logger, const std::string &blockName)activemq::logger::MarkBlockLogger [inline]


Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_mark_block_logger.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,75 @@ + + +activemq-cpp: activemq::logger::MarkBlockLogger Class Reference + + + + +
+
+
+
+ +

activemq::logger::MarkBlockLogger Class Reference

#include <MarkBlockLogger.h> +

+List of all members. + + + + +

Public Member Functions

 MarkBlockLogger (Logger *logger, const std::string &blockName)
+


Detailed Description

+Defines a class that can be used to mark the entry and exit from scoped blocks.

+Create an instance of this class at the start of a scoped block, passing it the logger to use and the name of the block. The block entry and exit will be marked using the scope name, logger to the logger at the MARKBLOCK log level. +

+


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
activemq::logger::MarkBlockLogger::MarkBlockLogger (Logger *  logger,
const std::string &  blockName 
) [inline]
+
+
+ +

+Constructor - Marks Block entry

Parameters:
+ + + +
logger Logger to use
blockName Block name
+
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener-members.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener-members.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener-members.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener-members.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,25 @@ + + +activemq-cpp: Member List + + + + +
+
+
+
+

activemq::logger::PropertiesChangeListener Member List

This is the complete list of members for activemq::logger::PropertiesChangeListener, including all inherited members.

+ +
onPropertyChanged(const std::string &name, const std::string &oldValue, const std::string &newValue)=0activemq::logger::PropertiesChangeListener [pure virtual]


Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_properties_change_listener.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,81 @@ + + +activemq-cpp: activemq::logger::PropertiesChangeListener Class Reference + + + + +
+
+
+
+ +

activemq::logger::PropertiesChangeListener Class Reference

#include <PropertiesChangeListener.h> +

+List of all members. + + + + +

Public Member Functions

virtual void onPropertyChanged (const std::string &name, const std::string &oldValue, const std::string &newValue)=0
+


Detailed Description

+Defines the interface that classes can use to listen for change events on Properties. +

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual void activemq::logger::PropertiesChangeListener::onPropertyChanged (const std::string &  name,
const std::string &  oldValue,
const std::string &  newValue 
) [pure virtual]
+
+
+ +

+Change Event, called when a property is changed

Parameters:
+ + + + +
name - Name of the Property
oldValue - Old Value of the Property
newValue - New Value of the Property
+
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ + Added: incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_simple_formatter-members.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_simple_formatter-members.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_simple_formatter-members.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1logger_1_1_simple_formatter-members.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,28 @@ + + +activemq-cpp: Member List + + + + +
+
+
+
+

activemq::logger::SimpleFormatter Member List

This is the complete list of members for activemq::logger::SimpleFormatter, including all inherited members.

+ + + + +
format(const LogRecord &record) const activemq::logger::SimpleFormatter [inline, virtual]
formatMessage(const LogRecord &record) const activemq::logger::SimpleFormatter [inline, virtual]
getHead(const Handler *handler)activemq::logger::SimpleFormatter [inline, virtual]
getTail(const Handler *handler)activemq::logger::SimpleFormatter [inline, virtual]


Generated on Tue Aug 1 09:18:14 2006 for activemq-cpp by  + +doxygen 1.4.7
+ +