getEnvironment

open fun getEnvironment(loggerContext: LoggerContext): Environment

Get the Spring Environment attached to the given LoggerContext or null if no environment is available.

Return

the Spring Environment or null

Since

3.0.0

Parameters

loggerContext

the logger context