Writes a message to the event log, with an optional COLOR specified.
Description: This is a string that defines the type of event like "Error" or "Info". It can be anything you like. Common message types are "Info","Warning", and "Error".
Description: This is the text to be displayed in the log, like a descriptive error message.
Optional Parameter: color
Description: This is the color code that you want associated with the log entry when you view it in the web browser. The color code must be in the #XXXXXX format, which is the # symbol followed by hexadecimal values for Red, Green, and Blue. Here are some examples of colors and their color values:
WHITE = "#FFFFFF"
RED = "#FF0000"
BLACK = "#000000"
NAVY = "#000080"
LIGHT BLUE = "#D9F2FF"
LIGHT GRAY = "#E1E1E1"
PINK = "#FFB6C1"
ORANGE = "#D58000"
GREEN = "#008000"
Note: At this time, the HomeSeer colors for Error, Warning, and Updater log entries of Red, Orange, and Green respectively are automatic and are still set by HomeSeer.