Skip to content

LogUtils

Shanti Ranjan Das edited this page Jan 25, 2020 · 2 revisions
  • logv(anyObject: Any, string: String = "--VERBOSE--")
  • logd(anyObject: Any, string: String = "--DEBUG--")
  • logi(anyObject: Any, string: String = "--INFO--")
  • logw(anyObject: Any, string: String = "--WARNING--")
  • loge(anyObject: Any, string: String = "--ERROR--")
  • logAll(anyObject: Any, string: String = "--ALL--")

All the above are self explainatory, except logAll which will print log in all the log format i.e, (logv,logd,...). Remember to dispose logs while you are going to production. All the above logs has default log tag. So, you can you use your own or use the default ones.

Call Andy.disposeAllLogs(true) for disposing all logs while going to production. It will not print any log, if you use this library's above log methods all over your map(Not your own logs).

Clone this wiki locally