The Battle for Wesnoth  1.19.7+dev
Functions | Variables
deprecation.cpp File Reference
#include "deprecation.hpp"
#include "formula/string_utils.hpp"
#include "log.hpp"
#include "preferences/preferences.hpp"
#include "game_version.hpp"
Include dependency graph for deprecation.cpp:

Go to the source code of this file.

Functions

std::string deprecated_message (const std::string &elem_name, DEP_LEVEL level, const version_info &version, const std::string &detail)
 

Variables

static lg::log_domain log_deprecate ("deprecation", lg::severity::LG_ERROR)
 

Function Documentation

◆ deprecated_message()

std::string deprecated_message ( const std::string &  elem_name,
DEP_LEVEL  level,
const version_info version,
const std::string &  detail 
)

Variable Documentation

◆ log_deprecate

lg::log_domain log_deprecate("deprecation", lg::severity::LG_ERROR) ( "deprecation"  ,
lg::severity::LG_ERROR   
)
static

Referenced by deprecated_message().