Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 31 of file berryCommandTracing.h.

Member Function Documentation

◆ PrintTrace()

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 23 of file berryCommandTracing.cpp.

References BERRY_INFO, and SEPARATOR.

Referenced by berry::Command::ExecuteWithChecks(), and berry::Command::SetHandler().

Member Data Documentation

◆ SEPARATOR

const QString berry::CommandTracing::SEPARATOR
static

The separator to place between the component and the message.

Definition at line 39 of file berryCommandTracing.h.

Referenced by berry::Command::ExecuteWithChecks(), and PrintTrace().


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