Category
public enum Category
Controls which message Siesta will log. See enabledLogCategories
.
See also
Logging Guide-
Summary of network requests: HTTP method, URL, and result code.
Declaration
Swift
case network
-
Details of network requests, including headers and bodies.
Declaration
Swift
case networkDetails
-
Details of how the
ResponseTransformer
parses responses.Declaration
Swift
case pipeline
-
ResourceEvent
broadcast by resources.Declaration
Swift
case stateChanges
-
Detailed information about when observers are added, when they are removed, and which events they receive.
Declaration
Swift
case observers
-
Information about how
Resource.loadIfNeeded()
decides whether to initiate a request.Declaration
Swift
case staleness
-
Details of when resource data is read from & saved to a persistent cache
Declaration
Swift
case cache
-
Details of which configuration matches which resources, and when it is computed.
Declaration
Swift
case configuration
-
The set of categories to log. Can be changed at runtime.
Declaration
Swift
public static var enabled: Set<SiestaLog.Category>
-
A reasonable subset of log categories for normal debugging.
Declaration
Swift
public static let common: Set<Category>
-
Everything except full request/response data.
Declaration
Swift
public static let detailed: Set<SiestaLog.Category>
-
The whole schebang!
Declaration
Swift
public static let all: Set<Category>