Skip to main content

ModelCenter APIs 2026 R1 SP03

getLogger

Last update: 30.07.2026

public 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