Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

logLevel

Get and set logging level


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: "OFF", "ERROR", "WARN", "INFO", or "DEBUG". The default level is ERROR.

Usage

logLevel(level = NULL)

Arguments

level

The logging level. Must be one of NULL, "OFF", "ERROR", "WARN", "INFO", or "DEBUG". If NULL (the default), then this function simply returns the current logging level.

Value

If level=NULL, then this returns the current logging level. If level is any other value, then this returns the previous logging level, from before it is set to the new value.


httpuv

HTTP and WebSocket Server Library

v1.6.1
GPL (>= 2) | file LICENSE
Authors
Joe Cheng [aut], Winston Chang [aut, cre], RStudio, PBC [cph], Hector Corrada Bravo [ctb], Jeroen Ooms [ctb], Andrzej Krzemienski [cph] (optional.hpp)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.