<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/disableLogging()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel14disableLoggingyyF"
  },
  "title" : "disableLogging()"
}
-->

# disableLogging()

Disables the global internal logger permanently.

```
func disableLogging()
```

## Discussion

Must only be called once. Not thread-safe. Must not be called while a
[`LoggingConnection`](/documentation/BitcoinKernel/LoggingConnection) exists.