A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_logger_filter below:

GCKLoggerFilter Class | Cast | Google for Developers

GCKLoggerFilter Class

Stay organized with collections Save and categorize content based on your preferences.

A class for filtering log messages that are produced using GCKLogger.

Since
3.0

Inherits NSObject.

BOOL  exclusive   A flag indicating whether the filter is exclusive (YES) or inclusive (NO). More...
  GCKLoggerLevel  minimumLevel   The minimum logging level that will be logged from this filter. More...
  - (void) setLoggingLevel: (GCKLoggerLevel)  minimumLevel forClasses: (NSArray< NSString * > *)  classNames 

Sets the minimum logging level that will be passed by the filter for the set of matching classes.

Glob patterns are supported for the class names.

Parameters
minimumLevel The minimum logging level for these classes. May be GCKLoggerLevelVerbose. to include all levels. classNames A list of class names.
Since
3.3
- (void) setLoggingLevel: (GCKLoggerLevel)  minimumLevel forFunctions: (NSArray< NSString * > *)  functionNames 

Sets the minimum logging level that will be passed by the filter for the set of matching function names.

Glob patterns are supported.

Parameters
minimumLevel The minimum logging level for these functions. May be GCKLoggerLevelVerbose to include all levels. functionNames A list of function names.
Since
3.3
- (void) addClassNames: (NSArray< NSString * > *)  classNames

Adds a list of class names to be matched by the filter.

A class name can be a simple name or the name of an extension, for example, @"MyClass" or @"MyClass(MyExtension)". If an extension is not included in the name, all extensions of the class will be included implicitly. Glob patterns are supported.

Deprecated:
Use setLoggingLevel:forClasses: instead.
- (void) addClassNames: (NSArray< NSString * > *)  classNames minimumLogLevel: (GCKLoggerLevel)  minimumLogLevel 

Adds a list of class names to be matched by the filter, specifying a minimum logging level.

A class name can be a simple name or the name of an extension, for example, @"MyClass" or @"MyClass(MyExtension)". If an extension is not included in the name, all extensions of the class will be included implicitly. Glob patterns are supported.

Deprecated:
Use setLoggingLevel:forClasses: instead.
Parameters
classNames The class names. minimumLogLevel The minimum level to log; may be GCKLoggerLevelVerbose to log all levels.
Since
3.2
- (void) addFunctionNames: (NSArray< NSString * > *)  functionNames - (void) addFunctionNames: (NSArray< NSString * > *)  functionNames minimumLogLevel: (GCKLoggerLevel)  minimumLogLevel 

Adds a list of non-member function names to be matched by the filter, specifying a minimum logging level.

Glob patterns are supported.

Deprecated:
Use setLoggingLevel:forFunctions: instead.
Parameters
functionNames The function names. minimumLogLevel The minimum level to log; may be GCKLoggerLevelVerbose to log all levels.
Since
3.2
- (void) addMessagePatterns: (NSArray< NSString * > *)  messagePatterns

Adds a list of regular expression patterns for matching the text of the log messages.

- (void) addMessagePatterns: (NSArray< NSString * > *)  messagePatterns caseInsensitive: (BOOL)  caseInsensitive 

Adds a list of regular expression patterns for matching the text of the log messages with optional case-insensitivity.

Deprecated:
Use addMessagePatterns: with inline (?-i) or (?i) instead.

Resets the filter; removing all match criteria.

A flag indicating whether the filter is exclusive (YES) or inclusive (NO).

By default filters are inclusive, that is, they accept all log messages that match the filter.

Deprecated:
No longer implemented; value is ignored.
- (GCKLoggerLevel) minimumLevel readwritenonatomicassign

The minimum logging level that will be logged from this filter.

Since
3.2

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-18 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `GCKLoggerFilter` class is used to filter log messages produced by the `GCKLogger`."],["It allows filtering based on class names, function names, logging levels, and message patterns."],["You can configure the filter to be inclusive or exclusive, although the exclusive property is deprecated and no longer implemented."],["`GCKLoggerFilter` provides methods to add or set logging criteria and to reset the filter entirely."],["Many methods for filtering class names and function names individually are deprecated in favor of newer methods that allow specifying the minimum log level for targets."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4