Functions | |
debug (messageLog) | |
void | addLogMonitor (char[] public(*monitor)()) |
Adds a monitor to be called each time a message is logged. |
The smjg.libs.sdwf.messagelog module implements logging of window messages for debugging purposes. To enable message logging, set the -debug=messageLog compiler option.
void smjg.libs.sdwf.messagelog.addLogMonitor | ( | char[]public(*)() | monitor | ) |
Adds a monitor to be called each time a message is logged.
A monitor is a function that defines a string that will be written to the log file when a message is logged. This is useful for tracking the state of some object.
monitor | function that returns a string that will be written as a line to the log file. |
smjg.libs.sdwf.messagelog.debug | ( | messageLog | ) |
Writes details of a message to the log file.
action | the action that triggered a message to be logged. | |
windowHandle | handle of the window to which the message was sent. | |
message | identifier of the message. | |
wParam | the first message-specific parameter. | |
lParam | the second message-specific parameter. |