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
ILogging.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
ILogging
{
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::ILogging
Definition:
ILogging.hpp:14
Module::ILogging::Notice
Definition:
ILogging.hpp:25
Module::ILogging::Alert
Definition:
ILogging.hpp:21
Module::ILogging::Critic
Definition:
ILogging.hpp:22
Module::ILogging::Type
Type
Definition:
ILogging.hpp:19
Module::ILogging::Info
Definition:
ILogging.hpp:26
Module::ILogging::Emergency
Definition:
ILogging.hpp:20
Module::ILogging::Log
virtual void Log(std::string const &msg, Type type=Type::Info) const =0
Module::ILogging::Debug
Definition:
ILogging.hpp:27
Module::ILogging::Warning
Definition:
ILogging.hpp:24
Module::ILogging::Error
Definition:
ILogging.hpp:23
API
include
Module
ILogging.hpp
Generated on Tue Jan 10 2017 17:44:53 for SaltAPI by
1.8.6