ServiceContainerLogging extension
Config service container's logging.
Methods
-
enableDebugLogging(
) → void -
Available on ContainerConfigure, provided by the ServiceContainerLogging extension
Enable logging for debug mode. Logging only available in debug mode, so you have to make sure call this method inassert
orkDebugMode
block, call this method in non-debug mode will not have any effect. -
enableDebugLogPrinter(
IServiceProvider p) → void -
Available on ContainerConfigure, provided by the ServiceContainerLogging extension
Listen to onRecord and use $LogPrinter service to print logs. Call this method will enable debug logging.