log
Saves a message to Sentinel’s logs.
Signatures
beacon.log(message);
beacon.log(message, level);
Parameters
message
The custom log message.
level
The urgency of the message. In order of least urgent to most urgent. The possible values are Debug, Informational, Notice, Warning, Error, Critical, Alert, and Emergency. Defaults to Informational.
Examples
Create a custom log message
beacon.log('A game of hide-and-seek was started!');