userver: utest::DefaultLoggerFixture< Base > Class Template Reference
Loading...
Searching...
No Matches
utest::DefaultLoggerFixture< Base > Class Template Reference

#include <userver/utest/default_logger_fixture.hpp>

Detailed Description

template<class Base>
class utest::DefaultLoggerFixture< Base >

Fixture that allows to set the default logger and manages its lifetime.

Definition at line 18 of file default_logger_fixture.hpp.

+ Inheritance diagram for utest::DefaultLoggerFixture< Base >:

Static Public Member Functions

static void TearDownTestSuite ()
 

Protected Member Functions

void SetDefaultLogger (logging::LoggerPtr new_logger)
 
void SetDefaultLoggerLevel (logging::Level new_level)
 Set the default logger level.
 

Constructor & Destructor Documentation

◆ ~DefaultLoggerFixture()

template<class Base >
utest::DefaultLoggerFixture< Base >::~DefaultLoggerFixture ( )
inlineoverrideprotected

Definition at line 44 of file default_logger_fixture.hpp.

Member Function Documentation

◆ SetDefaultLogger()

template<class Base >
void utest::DefaultLoggerFixture< Base >::SetDefaultLogger ( logging::LoggerPtr new_logger)
inlineprotected

Set the default logger and postpone its destruction till the coroutine engine stops

Definition at line 28 of file default_logger_fixture.hpp.

◆ SetDefaultLoggerLevel()

template<class Base >
void utest::DefaultLoggerFixture< Base >::SetDefaultLoggerLevel ( logging::Level new_level)
inlineprotected

Set the default logger level.

Definition at line 39 of file default_logger_fixture.hpp.

◆ TearDownTestSuite()

template<class Base >
static void utest::DefaultLoggerFixture< Base >::TearDownTestSuite ( )
inlinestatic

Definition at line 20 of file default_logger_fixture.hpp.


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