R/bunyanLog.trace.R

# Roxygen Comments bunyanLog.trace
#' Logs a message at TRACE level 10
#'
#' Logger bunyan style, to write JSON formatted machine readable logs
#' and to keep JSON log lines in a memory buffer.  Can be used with
#' other logging packages.
#'
#'
#' @param msg optional. Error to report - R struct passed to toJSON
#'
#' @param req optional. An http style request R struct
#'
#' @param res optional. An http style response R struct
#'
#' @param version optional. A user specified version R struct
#'
#'
#' @export
bunyanLog.trace <- 
function(msg, req, res, version) {
  bunyanLog(msg=msg, level=10, req=req, res=res, version=version)
}
joyent/Rbunyan documentation built on May 19, 2019, 9:43 p.m.