instantreality 1.0

Component:
EventUtilities
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

Logger

This node allows the log events that get sent to its "write" inslot. When you specify a file name in the "logFile" field, the logging information is written to a file, otherwise it is written to the console. The amount of logging information is controlled by the "level" exposed field.

Inheritance

Code

XML encoding
<Logger level='1'
logFile=''
enabled='TRUE'
logFeature=''
 />
Classic encoding
Logger {
	level 1
	logFile ""
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString logFile SFString initializeOnly The name of the log file the logging information is written to. When you do not specify a name here, the logging information is written to the console.
XFAny write XFAny inputOnly Send the events you want to get logged to this inslot.
SFBool enabled SFBool inputOutput TRUE Enables or disables the node. A node that is disabled does not react to incoming events and does not send events.
SFInt32 level SFInt32 inputOutput 1 Specifies what amount of logging is performed by this node. Possible balues are 0, 1, 2 and 3. 0 means no logging. 1 means that the name of the field that sent the event, the data type of the event, the number of elements in the data value, and the current time stamp are logged. 2 means that additionally to the information provided by level 1, the actual data value is logged. 3 means that additionally to the information provided by level 2, the name and the type of the sending node is logged.
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element