SlfLogManager

class SlfLogManager : AbstractPlugin, LogManager

Types

Companion
Link copied to clipboard
object Companion : PluginFactory<SlfLogManager>

Functions

attach
Link copied to clipboard
open override fun attach(context: Context)

Start this plugin and attach registration info to the context. This method should be called only via PluginManager to avoid dependency issues.

content
Link copied to clipboard
open fun content(target: String): Map<Name, Any>

A map of direct children for specific target

dependsOn
Link copied to clipboard
override fun dependsOn(): Map<PluginFactory<*>, Meta>

Plugin dependencies which are required to attach this plugin. Plugin dependencies must be initialized and enabled in the Context before this plugin is enabled.

detach
Link copied to clipboard
open override fun detach()

Stop this plugin and remove registration info from context and other plugins. This method should be called only via PluginManager to avoid dependency issues.

log
Link copied to clipboard
open override fun log(tag: String, body: () -> String)
open fun log(name: Name, tag: String, body: () -> String)
logger
Link copied to clipboard
open override fun logger(name: Name): Logger
toMeta
Link copied to clipboard
open override fun toMeta(): Meta

Properties

context
Link copied to clipboard
open override val context: Context

Get context for this object

defaultChainTarget
Link copied to clipboard
open val defaultChainTarget: String

Default target for next chain segment

defaultLogger
Link copied to clipboard
open override val defaultLogger: Logger
defaultTarget
Link copied to clipboard
open val defaultTarget: String

Default target for this provider

meta
Link copied to clipboard
open override val meta: Meta
name
Link copied to clipboard
open override val name: Name

The name of this plugin ignoring version and group

tag
Link copied to clipboard
open override val tag: PluginTag

Get tag for this plugin