Category

public enum Category

Controls which message Siesta will log. See enabledLogCategories.

See also

Logging Guide

Configuring logging

  • The set of categories to log. Can be changed at runtime.

    Declaration

    Swift

    public static var enabled: Set<SiestaLog.Category>

Predefined subsets

  • 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>
  • all

    The whole schebang!

    Declaration

    Swift

    public static let all: Set<Category>