LogFrontend

fun interface LogFrontend

Functions

getReceiverFor
Link copied to clipboard
abstract fun getReceiverFor(tag: Logger.Tag): LogReceiver

Create a LogReceiver that will be used to carry every Logger.Entry

Extensions

withShortPackageKeepLast
Link copied to clipboard
fun LogFrontend.withShortPackageKeepLast(count: Int): LogFrontend

Shrink Logger.Tag package name to its first letter, except for the last one(s)

withShortPackages
Link copied to clipboard
fun LogFrontend.withShortPackages(): LogFrontend

Shrink every Logger.Tag package name to its first letter

withShortPackageShortenFirst
Link copied to clipboard
fun LogFrontend.withShortPackageShortenFirst(count: Int): LogFrontend

Shrink Logger.Tag package name to its first letter