<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/IOExtensiblePaniclog/SetActive",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOExtensiblePaniclog@F@SetActive#"
  },
  "title" : "SetActive"
}
-->

# SetActive

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

## Return Value

0 on success, negative value in case of failure.

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

---

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)