# LogParams Class

> Defines the parameters for writing error messages to a log file.

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/LogParams
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/llms.txt

```csharp
class LogParams : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

Defines the parameters for writing error messages to a log file.

The messages include the date and time, the source of the error, and the error type: debug, info, warning, error, or fatal. This class also defines the log file name and path.

**Referenced by:** [`Library`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Library.md), [`LogParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/LogParams.md)

**Uses types:** [`LogOutputFlags`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/LogOutputFlags.md), [`LogParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/LogParams.md)

## Constructors

### LogParams

```csharp
Datalogics.PDFL.LogParams.LogParams()
```

*constructor*

LogParams constructor which allows to create LogParams instance.

The LogParams object contains all settings required for logging. The log output, log file name and log string format can be configured with it.

## Properties

### LogFileName

```csharp
string Datalogics.PDFL.LogParams.LogFileName { get; set; }
```

### LogFormat

```csharp
string Datalogics.PDFL.LogParams.LogFormat { get; set; }
```

### LogOutputFlags

```csharp
LogOutputFlags Datalogics.PDFL.LogParams.LogOutputFlags { get; set; }
```

## Methods

### Dispose

```csharp
void Datalogics.PDFL.LogParams.Dispose()
```

**Returns:** `void`
