Log

Handy logging util class while building the sdk

Log Anywhere

if you need to log any event at any level just use the following extensions

  • logDebug()
    Takes a message
  • logInfo()
    Takes a message
  • logError()
    Takes a message and a throwable

These functions will use the closest class name as a tage and print the message the proper logging level

Log with tag

if you need to log everything under one tag you can use the following set of functions

  • Log.d()
    Takes a Tag and a message
  • Log.i()
    Takes a Tag and a message
  • Log.e()
    Takes a Tag , a message and a throwable