---
title: NSLogTopLevelExceptionMask
framework: Exception Handling
role: symbol
role_heading: Global Variable
platforms: [Mac Catalyst 13.0+, macOS 10.0+]
path: exceptionhandling/nslogtoplevelexceptionmask
---

# NSLogTopLevelExceptionMask

The exception handler logs exceptions that would be caught by the top-level handler.

## Declaration

```swift
var NSLogTopLevelExceptionMask: Int { get }
```

## See Also

### Constants

- [NSLogUncaughtExceptionMask](exceptionhandling/nsloguncaughtexceptionmask.md)
- [NSHandleUncaughtExceptionMask](exceptionhandling/nshandleuncaughtexceptionmask.md)
- [NSLogUncaughtSystemExceptionMask](exceptionhandling/nsloguncaughtsystemexceptionmask.md)
- [NSHandleUncaughtSystemExceptionMask](exceptionhandling/nshandleuncaughtsystemexceptionmask.md)
- [NSLogUncaughtRuntimeErrorMask](exceptionhandling/nsloguncaughtruntimeerrormask.md)
- [NSHandleUncaughtRuntimeErrorMask](exceptionhandling/nshandleuncaughtruntimeerrormask.md)
- [NSHandleTopLevelExceptionMask](exceptionhandling/nshandletoplevelexceptionmask.md)
- [NSLogOtherExceptionMask](exceptionhandling/nslogotherexceptionmask.md)
- [NSHandleOtherExceptionMask](exceptionhandling/nshandleotherexceptionmask.md)
