MySQL 9.4.0
Source Code Documentation
mysqlrouter::SQLLogFilter Class Reference

A SQLLogFilter allows to replace substrings defined by a set of hardcoded regular expressions with '***'. More...

#include <log_filter.h>

Inheritance diagram for mysqlrouter::SQLLogFilter:
[legend]

Public Member Functions

 SQLLogFilter ()
 
- Public Member Functions inherited from mysqlrouter::LogFilter
 LogFilter ()
 
 ~LogFilter ()
 
std::string filter (std::string statement) const
 
void add_pattern (const std::string &pattern, const std::vector< size_t > &group_indices)
 
void add_pattern (const std::string &pattern, const std::string &replacement)
 

Private Member Functions

void add_default_sql_patterns ()
 

Additional Inherited Members

- Static Public Attributes inherited from mysqlrouter::LogFilter
static const char kFillCharacter = '*'
 
static const unsigned int kFillSize = 3
 

Detailed Description

A SQLLogFilter allows to replace substrings defined by a set of hardcoded regular expressions with '***'.

Constructor & Destructor Documentation

◆ SQLLogFilter()

mysqlrouter::SQLLogFilter::SQLLogFilter ( )
inline

Member Function Documentation

◆ add_default_sql_patterns()

void mysqlrouter::SQLLogFilter::add_default_sql_patterns ( )
private

The documentation for this class was generated from the following files: