<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/OS_LOG_DEFAULT",
  "metadataVersion" : "0.1.0",
  "role" : "Macro",
  "symbol" : {
    "kind" : "Macro",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "c:@macro@OS_LOG_DEFAULT"
  },
  "title" : "OS_LOG_DEFAULT"
}
-->

# OS_LOG_DEFAULT

The shared default log.

```
#define OS_LOG_DEFAULT
```

## Discussion

Passing this constant to an `os_log` function, such as [`os_log`](/documentation/os/os_log), [`os_log_info`](/documentation/os/os_log_info), [`os_log_debug`](/documentation/os/os_log_debug), [`os_log_error`](/documentation/os/os_log_error), or [`os_log_fault`](/documentation/os/os_log_fault), causes the system to log a message with the system’s standard behavior.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)