---
title: SetActive
framework: DriverKit
role: symbol
role_heading: Instance Method
path: driverkit/ioextensiblepaniclog/setactive
---

# SetActive

## Declaration

```occ
virtual kern_return_t SetActive();
```

## Return Value

Return Value 0 on success, negative value in case of failure.

## Discussion

Discussion This function is called to set the IOExtensiblePaniclog object active. When it is set active, it is picked up and added to the extensible paniclog in case of a panic.
