---
title: NSLog
framework: foundation
role: symbol
role_heading: Function
path: foundation/nslog
---

# NSLog

Logs an error message to the Apple System Log facility.

## Declaration

```occ
extern void NSLog(NSString *format, ...);
```

## Discussion

Discussion Simply calls NSLogv(_:_:), passing it a variable number of arguments.

## See Also

### Diagnostics and Debugging

- [NSLogv(_:_:)](foundation/nslogv(_:_:).md)
- [NSDeallocateZombies](foundation/nsdeallocatezombies.md)
- [NSDebugEnabled](foundation/nsdebugenabled.md)
- [NSZombieEnabled](foundation/nszombieenabled.md)
- [NSKeepAllocationStatistics](foundation/nskeepallocationstatistics.md)
