30#ifndef __CLAW_LOG_LEVEL_HPP__
31#define __CLAW_LOG_LEVEL_HPP__
35#ifndef CLAW_LOGGER_EXPORT
36#ifdef CLAW_LOGGER_NO_EXPORT
37#define CLAW_LOGGER_EXPORT
40#ifdef claw_logger_EXPORTS
41#define CLAW_LOGGER_EXPORT __declspec(dllexport)
43#define CLAW_LOGGER_EXPORT __declspec(dllimport)
46#define CLAW_LOGGER_EXPORT
70 const std::string m_prefix;
Set the level of the next message for logger_system::operator<<().
int get() const
Get the level value.
log_level(int lvl)
Constructor.
std::string get_string() const
Get the prefix.
This is the main namespace.
CLAW_LOGGER_EXPORT log_level log_error
Use this level if something goes really bad and your application may crash.
CLAW_LOGGER_EXPORT log_level log_warning
Use this level if a small problem occurs and you can deal with it without crashing the application.
CLAW_LOGGER_EXPORT log_level log_verbose
Use this level if you want to inform the user about a situation that is not problematic.