rotate_logs | R Documentation |
Truncates the log file to the line count provided as rotate_lines
.
rotate_logs(rotate_lines = 100000L, logfile = get_logfile())
rotate_lines |
The number of log entries to keep in the logfile. |
logfile |
Log file to truncate. |
Invisible NULL
.
## Not run:
rotate_logs()
rotate_logs(rotate_lines = 0L)
rotate_logs(rotate_lines = 1000L, logfile = "my_log.log")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.