---
title: default
framework: os
role: symbol
role_heading: Type Property
path: os/oslogtype/default
---

# default

The default log level.

## Declaration

```swift
static let `default`: OSLogType
```

## Discussion

Discussion Logging a message of this type is equivalent to calling the os_log function. Use this level to capture information about things that might result in a failure. The system stores default-level messages in memory buffers and, without a configuration change, compresses the messages and writes them to the data store as those buffers fill up. They remain in the data store until the store’s size exceeds its storage quota, at which point, the system purges the oldest messages in the store to free up space.

## See Also

### Getting Log Types

- [debug](os/oslogtype/debug.md)
- [info](os/oslogtype/info.md)
- [error](os/oslogtype/error.md)
- [fault](os/oslogtype/fault.md)
