SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
ILogger.hpp
Go to the documentation of this file.
1
//
2
// Created by wery_a on 07/01/17.
3
//
4
5
#ifndef API_V2_ILOGGING_HPP
6
#define API_V2_ILOGGING_HPP
7
8
#include <string>
9
10
namespace
Module {
14
class
ILogger
{
15
public
:
19
enum
Type
{
20
Emergency
,
21
Alert
,
22
Critic
,
23
Error
,
24
Warning
,
25
Notice
,
26
Info
,
27
Debug
28
};
29
35
virtual
void
Log
(std::string
const
&msg,
Type
type = Type::Info)
const
= 0;
36
37
};
38
}
39
40
#endif //API_V2_ILOGGING_HPP
Module::ILogger::Warning
Definition:
ILogger.hpp:24
Module::ILogger::Debug
Definition:
ILogger.hpp:27
Module::ILogger::Error
Definition:
ILogger.hpp:23
Module::ILogger
Definition:
ILogger.hpp:14
Module::ILogger::Emergency
Definition:
ILogger.hpp:20
Module::ILogger::Notice
Definition:
ILogger.hpp:25
Module::ILogger::Log
virtual void Log(std::string const &msg, Type type=Type::Info) const =0
Module::ILogger::Info
Definition:
ILogger.hpp:26
Module::ILogger::Critic
Definition:
ILogger.hpp:22
Module::ILogger::Alert
Definition:
ILogger.hpp:21
Module::ILogger::Type
Type
Definition:
ILogger.hpp:19
API
include
Module
ILogger.hpp
Generated on Tue Jan 10 2017 17:44:53 for SaltAPI by
1.8.6