MobiusHooks

Allows configuration of how Mobius handles programmer errors through setting a custom ErrorHandler via the setErrorHandler method. The default handler prints errors with println.

Types

Link copied to clipboard
fun interface ErrorHandler
Link copied to clipboard
interface InternalLogger
Link copied to clipboard
fun interface InternalLoggerFactory

Functions

Link copied to clipboard
Link copied to clipboard

Sets the error handler to the default one.

Link copied to clipboard

Sets the logger factory to produce the default println logger.

Link copied to clipboard

Changes the error handler that is used by Mobius for internal errors.

Link copied to clipboard

Set a custom InternalLoggerFactory backed by your preferred platform logging APIs.