# Index

A C D E G I K L O R S V W
All Classes and Interfaces|All Packages|Constant Field Values

## A

addLogger(Log.Logger) - Static method in class com.castlabs.logutils.Log
  Add a `Log.Logger` to receive logging messages.
addReporter(CrashReporter) - Static method in class com.castlabs.logutils.Crashlog
  Add a new reporter

## C

com.castlabs.logutils - package com.castlabs.logutils
Crashlog - Class in com.castlabs.logutils
  This class provides the ability to manager the crash context and connect `CrashReporter` implementations that are then used to send crash data to a backend service.
CrashReporter - Interface in com.castlabs.logutils
  Implementations of this interface allow connections to crash logging systems.

## D

d(String, String) - Static method in class com.castlabs.logutils.Log
  Send a `Log.DEBUG` log message.
d(String, String, Throwable) - Static method in class com.castlabs.logutils.Log
  Send a `Log.DEBUG` log message and log the exception.
DEFAULT_LOG_LEVEL - Static variable in class com.castlabs.logutils.Log
  Default log level

## E

e(String, String) - Static method in class com.castlabs.logutils.Log
  Send a `Log.ERROR` log message.
e(String, String, Throwable) - Static method in class com.castlabs.logutils.Log
  Send a `Log.ERROR` log message and log the exception.

## G

getLogLevel() - Static method in class com.castlabs.logutils.Log
  Returns the current log level

## I

i(String, String) - Static method in class com.castlabs.logutils.Log
  Send a `Log.INFO` log message.
i(String, String, Throwable) - Static method in class com.castlabs.logutils.Log
  Send a `Log.INFO` log message and log the exception.

## K

KEY_ASSET_ID - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the last used asset ID
KEY_AUDIO_BITRATE - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current audio bitrate
KEY_AUDIO_DRM - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the last used DRM type
KEY_DEVICE_SECURITY_LEVEL - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the last required security level
KEY_DISPLAY_COUNT - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current number of reported displays
KEY_DISPLAY_REMOTE - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store a boolean that indicates if the connected display is a remote display
KEY_DISPLAY_SECURE - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store a boolean that indicates if the connected display is a secure display
KEY_DISPLAY_SETTING - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current display configuration
KEY_DRM - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the last used DRM type
KEY_DRM_URL - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the DRM backend URL for the last request
KEY_OFFLINE_ID - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the Offline ID in case offline key storage is enabled
KEY_POSITION - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current playback position.
KEY_PRESENTATION_DISPLAY_COUNT - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current number of reported presentation displays
KEY_REQUEST_ID - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the last used DRMToday request ID
KEY_STATE - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current playback state
KEY_URL - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current playback URL
KEY_VARIANT_ID - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the last used variant ID
KEY_VERSION - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the castlabs SDK version
KEY_VIDEO_BITRATE - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current video bitrate
KEY_VIDEO_SIZE - Static variable in class com.castlabs.logutils.Crashlog
  Key used to store the current video dimensions

## L

log(String, String) - Static method in class com.castlabs.logutils.Crashlog
  Adds a log line to the crash context
log(String, String) - Method in interface com.castlabs.logutils.CrashReporter
  Adds a log line to the crash context
Log - Class in com.castlabs.logutils
  Custom logger class.
Log.Logger - Interface in com.castlabs.logutils
  Logger interface that receives logging messages.

## O

onCastlabsLog(int, String, String, Throwable) - Method in interface com.castlabs.logutils.Log.Logger
  A log message is triggered.

## R

removeLogger(Log.Logger) - Static method in class com.castlabs.logutils.Log
  Removes a previously registered `Log.Logger`
report(Throwable) - Static method in class com.castlabs.logutils.Crashlog
  Report a caught exception to all registered reporters
report(Throwable) - Method in interface com.castlabs.logutils.CrashReporter
  Report a caught exception.

## S

set(String, boolean) - Static method in class com.castlabs.logutils.Crashlog
  Sets a boolean value.
set(String, boolean) - Method in interface com.castlabs.logutils.CrashReporter
  Sets a boolean value
set(String, double) - Static method in class com.castlabs.logutils.Crashlog
  Sets a double value.
set(String, double) - Method in interface com.castlabs.logutils.CrashReporter
  Sets a double value
set(String, int) - Static method in class com.castlabs.logutils.Crashlog
  Sets an int value.
set(String, int) - Method in interface com.castlabs.logutils.CrashReporter
  Sets an int value
set(String, String) - Static method in class com.castlabs.logutils.Crashlog
  Sets a string value.
set(String, String) - Method in interface com.castlabs.logutils.CrashReporter
  Sets a string value.
setLogLevel(int) - Static method in class com.castlabs.logutils.Log
  Sets the log level.

## V

v(String, String) - Static method in class com.castlabs.logutils.Log
  Send a `Log.VERBOSE` log message.
v(String, String, Throwable) - Static method in class com.castlabs.logutils.Log
  Send a `Log.VERBOSE` log message and log the exception.

## W

w(String, String) - Static method in class com.castlabs.logutils.Log
  Send a `Log.WARN` log message.
w(String, String, Throwable) - Static method in class com.castlabs.logutils.Log
  Send a `Log.WARN` log message and log the exception.

A C D E G I K L O R S V W
All Classes and Interfaces|All Packages|Constant Field Values