Learn R Programming

httpcache (version 1.2.0)

loadLogfile: 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.