irccd  3.0.3
Static Public Member Functions | List of all members
irccd::daemon::logger::type_traits< plugin > Struct Reference

Implement Loggable traits for plugin. More...

#include <plugin_service.hpp>

Static Public Member Functions

static auto get_category (const plugin &plugin) -> std::string_view
 
static auto get_component (const plugin &plugin) -> std::string_view
 

Detailed Description

Implement Loggable traits for plugin.

Member Function Documentation

◆ get_category()

static auto irccd::daemon::logger::type_traits< plugin >::get_category ( const plugin plugin) -> std::string_view
static

Return "plugin"

Parameters
pluginthe plugin
Returns
the category

◆ get_component()

static auto irccd::daemon::logger::type_traits< plugin >::get_component ( const plugin plugin) -> std::string_view
static

Return the plugin id.

Parameters
pluginthe plugin
Returns
the plugin id

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