R/bunyanLog.info.R

# Roxygen Comments bunyanLog.info
#' Logs a message at INFO level 30
#'
#' 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.info <- 
function(msg, req, res, version) {
  bunyanLog(msg=msg, level=30, req=req, res=res, version=version)
}
joyent/Rbunyan documentation built on May 19, 2019, 9:43 p.m.