LogMessage()

From ElectronicWar

Jump to: navigation, search
Function information for logMessage()
Function logMessage()
Parameters (string message)
API All
Cost $250
Level N/A
CPU Usage 1
Description Puts a message in your logging database.


[edit] Watch Example

This function is often used to log information about why the watch was fired:

logMessage("The watch observing port " + getPort() + " was fired by " + getTargetIP)

Would put a message in your database telling what port the watch was monitoring and the IP which caused it to fire.

Personal tools