![]() |
MySQL 26.10.0
Source Code Documentation
|
#include <openssl/err.h>#include <openssl/ssl.h>#include <atomic>#include <functional>#include <memory>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | Communication_stack_to_string |
| This class is a helper to translate a Communication Stack to a string. More... | |
| struct | Network_security_credentials |
| Security credentials to establish a connection. More... | |
| struct | ssl_parameters |
| struct | tls_parameters |
| struct | Network_configuration_parameters |
| Possible configuration parameters. More... | |
| struct | Network_connection |
| Represents an open connection. More... | |
| class | Network_namespace_manager |
| Class that provides Network Namespace services. More... | |
| class | Network_provider |
| Base class for External Network Providers. More... | |
|
strong |
|
strong |
Dynamic log level enum values.
Network Provider will allow external entities to change a given log level, determined by an external condition.
For that, we create an enumeration that contains all possible generic log levels that we have seen in all implementations of a Network Provider.
Each Network Provider specialization must provide a mapping between network_provider_dynamic_log_level and their specific log level.
An example of this mechanism is as follows:
Let us consider that a coder decided that a certain log output in open_connection, on an implementation of a network provider, is ERROR.
At the same time, that developer allows an external entity that calls open_connection to override that log output. That could happen because the caller of open_connection wants to lower the verbosity due to too many errors in a short amount of time.
The developer must then use the implemented mapping referenced above on that instruction and consume the input parameter of open_connection that refers to an external network_provider_dynamic_log_level.
| Enumerator | |
|---|---|
| PROVIDED | |
| FATAL | |
| ERROR | |
| WARNING | |
| INFO | |
| DEBUG | |
| TRACE | |
| LAST_NETWORK_PROVIDER_DYNAMIC_LOG_LEVEL | |