loadLogfile: Read in a httpcache log file

View source: R/log.R

loadLogfileR Documentation

Read in a httpcache log file

Description

Read in a httpcache log file

Usage

loadLogfile(filename, scope = c("CACHE", "HTTP"))

Arguments

filename

character name of the log file, passed to utils::read.delim()

scope

character optional means of selecting only certain log messages. By default, only "CACHE" and "HTTP" log messages are kept. Other logged messages, such as "ERROR" messages from halt(), will be dropped from the resulting data.frame.

Value

A data.frame of log results.


nealrichardson/httpcache documentation built on April 21, 2023, 3:41 p.m.