| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/debug.R |
| 3 |
\name{logLevel} |
| 4 |
\alias{logLevel} |
| 5 |
\title{Get and set logging level} |
| 6 |
\usage{ |
| 7 |
logLevel(level = NULL) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{level}{The logging level. Must be one of \code{NULL}, \code{"OFF"}, |
| 11 |
\code{"ERROR"}, \code{"WARN"}, \code{"INFO"}, or \code{"DEBUG"}. If |
| 12 |
\code{NULL} (the default), then this function simply returns the current |
| 13 |
logging level.} |
| 14 |
} |
| 15 |
\value{ |
| 16 |
If \code{level=NULL}, then this returns the current logging level. If |
| 17 |
\code{level} is any other value, then this returns the previous logging |
| 18 |
level, from before it is set to the new value. |
| 19 |
} |
| 20 |
\description{ |
| 21 |
The logging level for later can be set to report differing levels of |
| 22 |
information. Possible logging levels (from least to most information |
| 23 |
reported) are: \code{"OFF"}, \code{"ERROR"}, \code{"WARN"}, \code{"INFO"}, or |
| 24 |
\code{"DEBUG"}. The default level is \code{ERROR}. |
| 25 |
} |
| 26 |
\keyword{internal} |