Skip to main content

ModelCenter APIs 2026 R1 SP03

LoggerUpdater

Last update: 30.07.2026

public class LoggerUpdater

This class is called by the Java logging infrastructure to notify the the C++ logger it update its local logging level. This way, we don't have to make a JNI call to check the logging level for each logging call. see UTIL/PHXLogger.h

Author

jdaley, 2010

Constructors

LoggerUpdater constructor(logger: Long)
Constructs this logger wrapper and instantiates underlying Logback logger

Functions

Name Summary
isResetResistant public isResetResistant(): Boolean
continue to listen even after reset
onLevelChange public onLevelChange(logger: Logger, level: Level)
onReset public onReset(context: LoggerContext)
reset logger
onStart public onStart(context: LoggerContext)
reset logger
onStop public onStop(context: LoggerContext)
do nothing
stop public stop()
stop listening.

Connect with Ansys