<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/setLoggingOptions(timestamps:timeMicros:threadNames:sourceLocations:alwaysPrintCategoryLevels:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel17setLoggingOptions10timestamps10timeMicros11threadNames15sourceLocations25alwaysPrintCategoryLevelsySb_S4btF"
  },
  "title" : "setLoggingOptions(timestamps:timeMicros:threadNames:sourceLocations:alwaysPrintCategoryLevels:)"
}
-->

# setLoggingOptions(timestamps:timeMicros:threadNames:sourceLocations:alwaysPrintCategoryLevels:)

Sets formatting options for the global internal logger.

```
func setLoggingOptions(timestamps: Bool = false, timeMicros: Bool = false, threadNames: Bool = false, sourceLocations: Bool = false, alwaysPrintCategoryLevels: Bool = false)
```

## Parameters

`timestamps`

Prefix each log line with a timestamp.

`timeMicros`

Include microseconds in the timestamp.

`threadNames`

Include the originating thread’s name.

`sourceLocations`

Append the source-file location that emitted the line.

`alwaysPrintCategoryLevels`

Always print the log category and level,
even for lines that wouldn’t normally include them.