---
title: disabled
framework: os
role: symbol
role_heading: Type Property
path: os/logger/disabled
---

# disabled

A disabled Logger that won’t emit log messages at runtime. Use to turn off all logging emitted using a specific logger variable.

## Declaration

```swift
static var disabled: Logger { get }
```
