dokilog / com.dokidevs.dokilog / LogProfile / prepareLog
open fun prepareLog(priority:
Int
, t:
Throwable
? = null, message:
String
?, className:
String
):
Unit
Entry point to the whole logging process. Prepare log based on message and throwable. If both are null, the message is set as “called”, so that no message is swallowed. This is useful for checking the method calls sequence. For example, simply call v(), d(), etc. anywhere and it will return “methodName: called”.
t
- Throwable.
message
- Message.
See Also