Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::CommandTracing Class Reference

#include <berryCommandTracing.h>

Static Public Member Functions

static void PrintTrace (const QString &component, const QString &message)
 

Static Public Attributes

static const QString SEPARATOR
 

Detailed Description

A utility class for printing tracing output to the console.

Clients must not extend or instantiate this class.

Definition at line 35 of file berryCommandTracing.h.

Member Function Documentation

void berry::CommandTracing::PrintTrace ( const QString &  component,
const QString &  message 
)
static

Prints a tracing message to standard out. The message is prefixed by a component identifier and some separator. See the example below.

       BINDINGS >> There are 4 deletion markers
Parameters
componentThe component for which this tracing applies; may be empty
messageThe message to print to standard out; may be empty

Definition at line 27 of file berryCommandTracing.cpp.

References BERRY_INFO, and SEPARATOR.

Referenced by berry::Command::SetHandler().

Member Data Documentation

const QString berry::CommandTracing::SEPARATOR
static

The separator to place between the component and the message.

Definition at line 43 of file berryCommandTracing.h.

Referenced by PrintTrace().


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