ContextFeature Class Reference

This class represents a "feature" in the logging framework/system. More...

#include <logging.h>

List of all members.

Public Member Functions

 ContextFeature (QString name)
 Constructor for a new feature.name is the feature name.
QString getName () const
 Returns the name of the feature.


Detailed Description

This class represents a "feature" in the logging framework/system.

A feature can be ie. "multithreading", "introspection", "dbus" or anything that makes sense in your setup. Using features you can later get more filtered debug output. You most likely want to use this class like this:

    ...
    contextDebug() << ContextFeature("introspection") << "Message";
    ...

One message can belong to many features or to none.


Constructor & Destructor Documentation

ContextFeature::ContextFeature ( QString  name  ) 

Constructor for a new feature.name is the feature name.


Member Function Documentation

QString ContextFeature::getName (  )  const

Returns the name of the feature.


The documentation for this class was generated from the following files:

Generated on Wed Sep 30 11:55:02 2009 for libcontextprovider by  doxygen 1.5.8