Represents a trace log.
More...
|
| NSFTraceLog (NSFString name) |
| Creates a trace log More...
|
|
void | addTrace (NSFString type, NSFString tag, NSFString data) |
| Adds a trace to the log. More...
|
|
void | addTrace (NSFString type, NSFString tag1, NSFString data1, NSFString tag2, NSFString data2) |
| Adds a trace to the log. More...
|
|
void | addTrace (NSFString type, NSFString tag1, NSFString data1, NSFString tag2, NSFString data2, NSFString tag3, NSFString data3) |
| Adds a trace to the log. More...
|
|
bool | allTracesLogged () |
| Have all traces that have been added been logged More...
|
|
void | saveLog () |
| Saves the trace log to a file with the name of the log. More...
|
|
void | saveLog (NSFString fileName) |
| Saves the trace log to the specified filename. More...
|
|
| NSFTaggedObject (NSFString name) |
| Creates an object with a unique id and a name. More...
|
|
| NSFUniquelyNumberedObject () |
| Creates a uniquely numbered object. More...
|
|
bool | isSameObject (NSFUniquelyNumberedObject other) |
| Checks if this object is the same as another object. More...
|
|
Creates a trace log
- Parameters
-
By default, thread priority is set to lowest.
Adds a trace to the log.
- Parameters
-
type | The type of the trace. |
tag | The tag associated with the trace. |
data | The data associated with the tag. |
Adds a trace to the log.
- Parameters
-
type | The type of the trace. |
tag1 | The first tag associated with the trace. |
data1 | The data associated with the first tag. |
tag2 | The second tag associated with the trace. |
data2 | The data associated with the second tag. |
Adds a trace to the log.
- Parameters
-
type | The type of the trace. |
tag1 | The first tag associated with the trace. |
data1 | The data associated with the first tag. |
tag2 | The second tag associated with the trace. |
data2 | The data associated with the second tag. |
tag3 | The third tag associated with the trace. |
data3 | The data associated with the third tag. |
Reaction that does the work adding a trace element to the log.
- Parameters
-
context | Additional contextual information. |
Have all traces that have been added been logged
- Returns
- True if the NSFTraceLog has logged all the added traces. False if there are traces that have yet to be processed.
Saves the trace log to a file with the name of the log.
The trace log is saved in xml format.
Saves the trace log to the specified filename.
- Parameters
-
fileName | The relative or fully qualified name for the file. |
The trace log is saved in xml format.
Reaction that does the work of saving the file.
- Parameters
-
context | Additional contextual information. |
Gets or sets the flag indicating if tracing is enabled.
If tracing is disabled, no additions will be made to the trace log.
Gets or sets the maximum number of trace entries in the log.
Once the trace limit is reached, old traces are deleted in favor of new ones.
Gets the framework trace log.
This log is where framework traces are recorded, and where static logging operations record traces. Most application use this log for custom trace recording, as well.