CAMAC Front-End Documentation : Software Description : Logging Messages
Previous: Interfacing with PCI devices
Next: Simplifying logMsg() with macros

2.2. Logging Messages

VxWorks provides a logging task that can print messages to the console device. The function that communicates with this task is logMsg(). This function should be used for all diagnostic messages rather than printf(), for several reasons:

2.2.1. Simplifying logMsg() with macros

2.2.1.1. Example

2.2.2. Debug Messages

2.2.2.1. Example

2.2.3. Function Reference

2.2.3.1. dbgMsg()
2.2.3.2. exitLog()
2.2.3.3. initLog()
2.2.3.4. logMsg()
2.2.3.5. reattachLog()

CAMAC Front-End Documentation : Software Description : Logging Messages
Previous: Interfacing with PCI devices
Next: Simplifying logMsg() with macros

Security, Privacy, Legal