FocusFeature
final public class FocusFeature : ConditionalFeature
The Focus feature provides realtime filtered logging based on Features and Actions.
Focus is enabled by default. Use the focus
action to add features to the focus area at runtime.
-
Declaration
Swift
public static var description: String
-
Declaration
Swift
public static func constraints(requirements: FeatureConstraintsBuilder)
-
Set this to
false
at runtime to disable the Focus feature completelyDeclaration
Swift
public static var isEnabled: Bool?
-
Undocumented
Declaration
Swift
public static var defaultMaxLogEvents: Int
-
Undocumented
See moreDeclaration
Swift
public struct Dependencies
-
Undocumented
Declaration
Swift
public private(set) static var dependencies: FocusFeature.Dependencies
-
Perform this action to add a new FocusArea to the current range of focused items
Declaration
Swift
public static let focus: ConditionalActionBinding<FocusFeature, FocusAction>
-
Perform this action to remove a FocusArea drom the current range of focused items
Declaration
Swift
public static let defocus: ConditionalActionBinding<FocusFeature, DefocusAction>
-
Perform this action to reset the focus feature to start tracking everything again
Declaration
Swift
public static let resetFocus: ConditionalActionBinding<FocusFeature, ResetFocusAction>
-
Declaration
Swift
public static func prepare(actions: FeatureActionsBuilder)