> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DVS::ILogger Class Reference

Interface for a logger to be used by [DVS::IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md).

`#include <logger_interface.h>`

Inheritance diagram for DVS::ILogger:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=bf3aedd984174b71ee136d4bcf52942a)

## Public Member Functions

| Type | Name |
| - | - |
| | **ILogger** ()=default default |
|  virtual | **\~ILogger** ()=default default |
| | **ILogger** ([ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) &&)=default default |
| [ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) & | **operator=** ([ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) &&)=default default |
| | **ILogger** (const [ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) &)=default support copying |
| [ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) & | **operator=** (const [ILogger](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_logger.md) &)=default default |
| virtual void | [log](#a8f562c0a88964401a6bd50fc7b387ef5) (int type, const char \*msg,...)=0 Logging method to be overriden. |
| virtual void | [release](#a753d496b0ca488a74e6209f330b13458) () Release the memory of the object. |

## Detailed Description

Interface for a logger to be used by [DVS::IClient](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_i_client.md).

Definition at line [34](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/logger__interface_8h_source) of file [logger\_interface.h](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/logger__interface_8h_source).

## Member Function Documentation

### log()

```cpp theme={null}
virtual void DVS::ILogger::log(
    int type,
    const char * msg,
    ...
)
```

`pure virtual`

Logging method to be overriden.

**Parameters**

| Name | Description |
| - | - |
| type | Type of logging message (for filtering) |
| msg | message to log |
| ... | extra params |

Implemented in [DVS::LoggerVerbose](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_logger_verbose.md#acf148c138e5b4c3a2bd00492966e2f00).

### release()

```cpp theme={null}
virtual void DVS::ILogger::release()
```

`inline` `virtual`

Release the memory of the object.

Implement to have object release this object for you.

Reimplemented in [DVS::LoggerVerbose](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/class_d_v_s_1_1_logger_verbose.md#a37d5bb525097d06ebc878a673da7029e).

Definition at line [60](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/logger__interface_8h_source) of file [logger\_interface.h](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/logger__interface_8h_source).

The documentation for this class was generated from the following file:

* D:/ANSYSDev/Product-src/ensight/user\_defined\_src/readers/dvs/include/[logger\_interface.h](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r2/logger__interface_8h_source)
