hook

inline fun <T> hook(noinline hook: (kind: BaseConsole.Kind, msg: Array<out Any?>, logInternal: (kind: BaseConsole.Kind, msg: Array<out Any?>) -> Unit) -> Unit, block: () -> T): T