public class DefaultLevels
extends java.lang.Object
| Constructor and Description |
|---|
DefaultLevels()
Initialises all levels to their defaults.
|
DefaultLevels(CommonConfig config)
Initialises all levels based on an existing config.
|
| Modifier and Type | Method and Description |
|---|---|
com.rollbar.api.payload.data.Level |
getError() |
com.rollbar.api.payload.data.Level |
getMessage() |
com.rollbar.api.payload.data.Level |
getThrowable() |
void |
setError(com.rollbar.api.payload.data.Level level) |
void |
setMessage(com.rollbar.api.payload.data.Level level) |
void |
setThrowable(com.rollbar.api.payload.data.Level level) |
public DefaultLevels()
public DefaultLevels(CommonConfig config)
config - An existing configurationpublic com.rollbar.api.payload.data.Level getMessage()
public void setMessage(com.rollbar.api.payload.data.Level level)
public com.rollbar.api.payload.data.Level getError()
public void setError(com.rollbar.api.payload.data.Level level)
public com.rollbar.api.payload.data.Level getThrowable()
public void setThrowable(com.rollbar.api.payload.data.Level level)