Skip to main content

ModelCenter APIs 2025 R1

getLogger

Last update: 16.07.2025

abstract fun getLogger(): Logger

Retrieves a logger. Note that the logger is always associated with the caller component if there is one, otherwise it is associated with the Model component. If there is not model then a logger associated with the application will be returned

Return

a Logger object

Throws

ModelCenterException

Connect with Ansys