<commit_before><?php

/**
 * File containing the ezcLogFilter class.
 *
 * @package EventLog
 * @version //autogentag//
 * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
 * @license BSD {@link http://ez.no/licenses/bsd}
 */

/**
 * The ezcLogFilter class provides a structure to set a log filter.
 *
 * ezcLogFilter has three public member variables:
 * - severity, contains the severity of the log message.
 * - source, contain the source of the log message. 
 * - category, contains the category of the log message.
 * 
 * Severity is an integer mask that expects one more multiple ezcLog severity constants. 
 * Multiple values can be assigned by using a logical-or on the values. The value zero
 * represents all possible severities.
 *
 * Source and category are an array. An empty array reprseents all possible sources
 * and categories.  
 *
 * The ezclogFilter class is mainly used by the {@link ezcLog::attach()} and {@link ezcLog::detach()} 
 * methods.
 *
 * @package EventLog
 * @version //autogentag//
 */
class ezcLogFilter
{
   /**
    * The severities that are accepted by the ezcLogFilter.
    *
    * The default value zero specifies that all severities are accepted.
    * 
    * @var int
    */
   public $severity;


   /**
    * The source of the log message.
    *
    * The default empty array specifies that all sources are accepted by this filter.
    * 
    * @var array(string)
    */
   public $source;<commit_msg>- Modified structs to inherit from ezcBaseStruct<commit_after><?php

/**
 * File containing the ezcLogFilter class.
 *
 * @package EventLog
 * @version //autogentag//
 * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
 * @license BSD {@link http://ez.no/licenses/bsd}
 */

/**
 * The ezcLogFilter class provides a structure to set a log filter.
 *
 * ezcLogFilter has three public member variables:
 * - severity, contains the severity of the log message.
 * - source, contain the source of the log message. 
 * - category, contains the category of the log message.
 * 
 * Severity is an integer mask that expects one more multiple ezcLog severity constants. 
 * Multiple values can be assigned by using a logical-or on the values. The value zero
 * represents all possible severities.
 *
 * Source and category are an array. An empty array reprseents all possible sources
 * and categories.  
 *
 * The ezclogFilter class is mainly used by the {@link ezcLog::attach()} and {@link ezcLog::detach()} 
 * methods.
 *
 * @package EventLog
 * @version //autogentag//
 */
class ezcLogFilter extends ezcBaseStruct
{
   /**
    * The severities that are accepted by the ezcLogFilter.
    *
    * The default value zero specifies that all severities are accepted.
    * 
    * @var int
    */
   public $severity;


   /**
    * The source of the log message.
    *
    * The default empty array specifies that all sources are accepted by this filter.
    * 
    * @var array(string)
    */
   public $source;
{'fraction_non_alphanumeric': 0.08987637821583695, 'fraction_numerical': 0.0053458068827263614, 'mean_word_length': 3.045945945945946, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6314333', 'n_tokens_mistral': 893, 'n_tokens_neox': 827, 'n_words': 363}