    

 ## On this page

  

 

 # `ILog`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v261.Ansys.ACT.Interfaces.Common.ILog"></a>

#### *class* Ansys.ACT.Interfaces.Common.ILog

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Defines log engine.

<a id="overview"></a>

## Overview

### Methods

NameDescription[`WriteError`](#ILog.WriteError)Adds a new error message entry into the log.[`WriteMessage`](#ILog.WriteMessage)Adds a new message entry into the log.[`WriteWarning`](#ILog.WriteWarning)Adds a new warning message entry into the log.<a id="method-detail"></a>

## Method detail

<a id="ILog.WriteError"></a>

### ILog.WriteError(message: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [None](https://docs.python.org/3/library/constants.html#None)

Adds a new error message entry into the log.

<a id="ILog.WriteMessage"></a>

### ILog.WriteMessage(message: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [None](https://docs.python.org/3/library/constants.html#None)

Adds a new message entry into the log.

<a id="ILog.WriteWarning"></a>

### ILog.WriteWarning(message: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [None](https://docs.python.org/3/library/constants.html#None)

Adds a new warning message entry into the log.