The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Type: Package
Title: Error Tracking and Logging
Version: 0.1.0
Date: 2016-05-12
Description: Reports errors and messages to Rollbar, the error tracking platform https://rollbar.com.
License: MIT + file LICENSE
LazyData: TRUE
Imports: httr
RoxygenNote: 5.0.1
NeedsCompilation: no
Packaged: 2016-05-14 02:40:29 UTC; andrew
Author: Andrew Kane [aut, cre]
Maintainer: Andrew Kane <andrew@chartkick.com>
Repository: CRAN
Date/Publication: 2016-05-14 09:18:57

Attach the global error handler

Description

Attach the global error handler

Usage

rollbar.attach()

Configure the library

Description

Configure the library

Usage

rollbar.configure(access_token = NULL, env = NULL, root = NULL)

Arguments

access_token

Access token from your Rollbar project

env

Environment name. Any string up to 255 chars is OK. For best results, use "production" for your production environment.

root

Absolute path to the root of your application, not including the final /


Report critical errors

Description

Report critical errors

Usage

rollbar.critical(message, extra = NULL)

Arguments

message

The message or error

extra

Extra data


Report debug messages

Description

Report debug messages

Usage

rollbar.debug(message, extra = NULL)

Arguments

message

The message or error

extra

Extra data


Report errors

Description

Report errors

Usage

rollbar.error(message, extra = NULL)

Arguments

message

The message or error

extra

Extra data


Report info messages

Description

Report info messages

Usage

rollbar.info(message, extra = NULL)

Arguments

message

The message or error

extra

Extra data

Examples

rollbar.info("Job successful")
rollbar.info("Job successful", list(job_id=123, awesome="yes"))

Report messages

Description

Report messages

Usage

rollbar.log(level, message, extra = NULL)

Arguments

level

The "error" level

message

The message or error

extra

Extra data

Examples

rollbar.log("info", "Job successful")
rollbar.log("info", "Job successful", list(job_id=123, awesome="yes"))

Report warnings

Description

Report warnings

Usage

rollbar.warning(message, extra = NULL)

Arguments

message

The message or error

extra

Extra data

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.