MantisBase v0.4.9
Loading...
Searching...
No Matches
mb::MbLoggerImpl Class Reference

MbLogger implementation for soci, allowing us to override the default logging behaviour with our own custom logger. More...

#include <database.h>

Inheritance diagram for mb::MbLoggerImpl:
Collaboration diagram for mb::MbLoggerImpl:

Public Member Functions

void start_query (std::string const &query) override
 Called before query is executed by soci, we can log the query here.
std::string get_last_query () const override

Detailed Description

MbLogger implementation for soci, allowing us to override the default logging behaviour with our own custom logger.

Member Function Documentation

◆ get_last_query()

std::string mb::MbLoggerImpl::get_last_query ( ) const
inlineoverride

◆ start_query()

void mb::MbLoggerImpl::start_query ( std::string const & query)
inlineoverride

Called before query is executed by soci, we can log the query here.

Parameters
querySQL Query to be executed

The documentation for this class was generated from the following file:
  • /home/runner/work/mantisbase/mantisbase/include/mantisbase/core/database.h