open_log: Open a log file for loggr

Description Usage Arguments See Also Examples

Description

This opens a log file for loggr. The output for all calls to loggr will be redirected to this file. The user can either specify a file name or pass a connection to a file.

Usage

1
open_log(description = "", open = "a", ...)

Arguments

description

A character or a connection.

open

The mode for opening the connect. See file

...

Additional parameters passed to file

See Also

close_log

Examples

1
2
3
4
open_log("mylog.txt")

f = gzfile("mylog.gz", mode="wb")
open_log(f)

erickramer/loggr documentation built on May 16, 2019, 8:28 a.m.