---
title: OS_LOG_DISABLED
framework: os
role: symbol
role_heading: Macro
path: os/os_log_disabled
---

# OS_LOG_DISABLED

The shared disabled log.

## Declaration

```occ
#define OS_LOG_DISABLED
```

## Discussion

Discussion Passing this constant to an os_log function, such as os_log, os_log_info, os_log_debug, os_log_error, or os_log_fault, prevents the system from logging a message.

## See Also

### Getting the Standard Log Objects

- [OS_LOG_DEFAULT](os/os_log_default.md)
