---
title: "ILogger"
description: "Namespace: Lacuna.Pki"
canonical: "https://docs.lacunasoftware.com/api/Lacuna.Pki/ILogger"
locale: "pt-BR"
product: "PKI SDK"
last_updated: "2026-06-02"
---

# ILogger

**Namespace:** `Lacuna.Pki`  
**Assembly:** `Lacuna.Pki`  
_Interface_

```csharp
public interface ILogger
```

## Métodos

### `Flush()`

```csharp
void Flush()
```

---

### `Log(LogLevels, string, string)`

```csharp
void Log(LogLevels level, string message, string source)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `level` | [`LogLevels`](https://docs.lacunasoftware.com/api/Lacuna.Pki/LogLevels) |  |
| `message` | [`string`](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `source` | [`string`](https://learn.microsoft.com/dotnet/api/system.string) |  |

---
