R/setServerLogLevel.R

Defines functions setServerLogLevel

Documented in setServerLogLevel

setServerLogLevel <- function(conn, logLevel=2)
{
  if(!is.twsConnection(conn))
    stop('twsConnection object required')
  VERSION <- "1"
  con <- conn[[1]]
  writeBin(c(.twsOutgoingMSG$SET_SERVER_LOGLEVEL,
             VERSION, as.character(logLevel)), con)
}

Try the IBrokers package in your browser

Any scripts or data that you put into this service are public.

IBrokers documentation built on Nov. 16, 2022, 5:05 p.m.