setMessageSink: Redirect messages to a log file

Description Usage Arguments

Description

Redirects any messages (e.g. errors) to a log file. Doing so at the start of your script is absolutely vital! Otherwise any potential info messages, warnings or errors can corrupt your HTTP response

Usage

1
setMessageSink(filename = "msg.log")

Arguments

filename

the log file to which messages will be redirected. Must be writable for apache user!


jweile/cgir documentation built on May 10, 2019, 10:02 a.m.