Class Logging
java.lang.Object
ortus.boxlang.runtime.events.BaseInterceptor
ortus.boxlang.runtime.interceptors.Logging
- All Implemented Interfaces:
IInterceptor
A BoxLang interceptor that provides logging capabilities
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.events.BaseInterceptor
logger, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlogMessage(IStruct data) Logs a messagevoidRuntime shutdown interceptionvoidonRuntimeShutdown(IStruct data) Alternate signature for onRuntimeShutdownMethods inherited from class ortus.boxlang.runtime.events.BaseInterceptor
configure, configure, getLogger, getProperties, getProperty, getProperty, getRuntime, hasProperty, setProperty, unregister
-
Constructor Details
-
Logging
Constructor- Parameters:
instance- The BoxRuntime instance
-
-
Method Details
-
logMessage
Logs a message- Parameters:
data- The data to be passed to the interceptor
-
onRuntimeShutdown
Runtime shutdown interception -
onRuntimeShutdown
Alternate signature for onRuntimeShutdown- Parameters:
data- The data to be passed to the interceptor
-