![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Base of InnoDB utilities. More...
#include "mysql/components/services/log_shared.h"#include "mysql/my_loglevel.h"#include "mysqld_error.h"#include "ut0core.h"Go to the source code of this file.
Classes | |
| class | ib::logger | 
| The class logger is the base class of all the error log related classes.  More... | |
| class | ib::info | 
| The class info is used to emit informational log messages.  More... | |
| class | ib::warn | 
| The class warn is used to emit warnings.  More... | |
| class | ib::error | 
| The class error is used to emit error messages.  More... | |
| class | ib::fatal | 
| The class fatal is used to emit an error message and stop the server by crashing it.  More... | |
| class | ib::error_or_warn | 
| Emit an error message if the given predicate is true, otherwise emit a warning message.  More... | |
| class | ib::fatal_or_error | 
| Emit a fatal message if the given predicate is true, otherwise emit a error message.  More... | |
Namespaces | |
| namespace | ib | 
Functions | |
| const char * | srv_get_server_errmsgs (int errcode) | 
| Get the format string for the logger.  More... | |
| static auto | ib::log_info () | 
| static auto | ib::log_warn () | 
| static auto | ib::log_error () | 
| static auto | ib::log_fatal (ut::Location location) | 
| static auto | ib::log_error_or_warn (bool pred) | 
| static auto | ib::log_fatal_or_error (bool fatal, ut::Location location) | 
| template<typename... Args> | |
| static auto | ib::log_info (int err, Args &&...args) | 
| template<typename... Args> | |
| static auto | ib::log_warn (int err, Args &&...args) | 
| template<typename... Args> | |
| static auto | ib::log_error (int err, Args &&...args) | 
| template<typename... Args> | |
| static auto | ib::log_fatal (ut::Location location, int err, Args &&...args) | 
| template<typename... Args> | |
| static auto | ib::log_error_or_warn (bool pred, int err, Args &&...args) | 
| template<typename... Args> | |
| static auto | ib::log_fatal_or_error (bool fatal, ut::Location location, int err, Args &&...args) | 
Base of InnoDB utilities.
Logging facilities.
| const char * srv_get_server_errmsgs | ( | int | errcode | ) | 
Get the format string for the logger.
| [in] | errcode | The error code from share/errmsg-*.txt |