Log

server.log() method is used to added customLog http response header for debugging purpose.

server.log(string <msg>) : void

Parameters

msg to log in http header as custom log

Return Values

Returns Nothing.

Examples

Example #1 Log Test message

This will Log Custom message on http response header:

server.log("working");