Class Logging

java.lang.Object
ortus.boxlang.runtime.events.BaseInterceptor
ortus.boxlang.runtime.interceptors.Logging
All Implemented Interfaces:
IInterceptor

public class Logging extends BaseInterceptor
A BoxLang interceptor that provides logging capabilities
  • Constructor Details

    • Logging

      public Logging(BoxRuntime instance)
      Constructor
      Parameters:
      instance - The BoxRuntime instance
  • Method Details

    • logMessage

      @InterceptionPoint public void logMessage(IStruct data)
      Logs a message
      Parameters:
      data - The data to be passed to the interceptor
    • onRuntimeShutdown

      @InterceptionPoint public void onRuntimeShutdown()
      Runtime shutdown interception
    • onRuntimeShutdown

      public void onRuntimeShutdown(IStruct data)
      Alternate signature for onRuntimeShutdown
      Parameters:
      data - The data to be passed to the interceptor