File: logLevel.Rd

package info (click to toggle)
r-cran-httpuv 1.6.15%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,292 kB
  • sloc: ansic: 6,499; cpp: 5,501; makefile: 103; sh: 56
file content (26 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{logLevel}
\alias{logLevel}
\title{Get and set logging level}
\usage{
logLevel(level = NULL)
}
\arguments{
\item{level}{The logging level. Must be one of \code{NULL}, \code{"OFF"},
\code{"ERROR"}, \code{"WARN"}, \code{"INFO"}, or \code{"DEBUG"}. If
\code{NULL} (the default), then this function simply returns the current
logging level.}
}
\value{
If \code{level=NULL}, then this returns the current logging level. If
\code{level} is any other value, then this returns the previous logging
level, from before it is set to the new value.
}
\description{
The logging level for httpuv can be set to report differing levels of
information. Possible logging levels (from least to most information
reported) are: \code{"OFF"}, \code{"ERROR"}, \code{"WARN"}, \code{"INFO"}, or
\code{"DEBUG"}. The default level is \code{ERROR}.
}
\keyword{internal}