log_roll: Roll the log file to a new one based upon file size

Description Usage Arguments Value

Description

Roll the log file to a new one based upon file size

Usage

1
log_roll(filename = log_file(), max_size = 1e+05)

Arguments

filename

the name of the file

max_size

numeric the maximum log file size in bytes to trigger rotation

Value

the size of the current log file (possibly rotated)


BigelowLab/obpgtools documentation built on May 5, 2019, 2:44 p.m.