> For the complete documentation index, see [llms.txt](https://vostok.gitbook.io/logging/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vostok.gitbook.io/logging/concepts/log-interface.md).

# Log interface

Every log in Vostok.Logging implements [ILog](https://github.com/vostok/logging.abstractions/blob/master/Vostok.Logging.Abstractions/ILog.cs) interface. This interface exposes three methods:

| Method                   | Description                                                                                                                                                                                                                                     |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Log(LogEvent)`          | Logs given [log event](https://vostok.gitbook.io/logging/concepts/log-events.md). This method is rarely invoked directly: it's preferable to use [logging extensions](https://vostok.gitbook.io/logging/concepts/syntax/logging-extensions.md). |
| `IsEnabledFor(LogLevel)` | Returns whether the current log is configured to record events of given level. This method is used in [logging extensions](https://vostok.gitbook.io/logging/concepts/syntax/logging-extensions.md) to avoid unnecessary `Log` method calls.    |
| `ForContext(string)`     | Returns a copy of the current log operating in given [source context](https://vostok.gitbook.io/logging/concepts/source-context.md).                                                                                                            |
