<!--
{
  "documentType" : "article",
  "framework" : "os",
  "identifier" : "/documentation/os/legacy-logging-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Legacy Logging Symbols"
}
-->

# Legacy Logging Symbols

Migrate your code away from using these legacy symbols.

## Topics

### Log Messages

[`os_log(_:)`](/documentation/os/os_log(_:))

Adds a new log message to the default subsystem.

[`os_log(_:log:_:)`](/documentation/os/os_log(_:log:_:))

Adds a new log message using an optional log object and log level.

[`os_log(_:dso:log:_:_:)`](/documentation/os/os_log(_:dso:log:_:_:))

Sends a message to the logging system, optionally specifying a custom log object, log level, and any message-format arguments.

[`os_log(_:dso:log:type:_:)`](/documentation/os/os_log(_:dso:log:type:_:))

Sends a message to the logging system, optionally specifying a custom log object, log level, and any message format arguments.



---

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)