Namespace: Rx – Class: ScopedTrace – Header: Rx.Core/Logging.h

ScopedTrace Class

C++
#include "Rx.Core/Logging.h"
class ScopedTrace

A scoped trace. Automatically creates a log entry when constructed and when destroyed. Can be used to log the beginning and end of a method.

Constructors

ScopedTrace(file, method, line)

Constructor. Automatically creates a log entry when this object is created.

ScopedTrace(msg, file, method, line)

Constructor. Automatically creates a log entry when this object is created.

Destructor

~ScopedTrace()

Destructor. Automatically creates a log entry when this object is destroyed.