ILogger.h
Go to the documentation of this file.
1
2
#ifndef LOG_I_LOGGER_HPP
3
#define LOG_I_LOGGER_HPP
4
5
//#include <stdarg.h>
6
#include <stdio.h>
7
8
9
namespace
GENICAM_NAMESPACE
10
{
11
class
ILogger
12
{
13
public
:
14
enum
Priority
15
{
16
ERR
= 300,
17
WARN
= 400,
18
INFO
= 600,
19
DEBUG
= 700,
20
NOTSET
= 800
21
};
22
23
virtual
~ILogger
() {};
24
virtual
void
Log
(
Priority
value,
const
char
* stringFormat, ...) = 0;
25
virtual
void
LogVA
(
Priority
value,
const
char
* stringFormat, va_list arg) = 0;
26
};
27
28
}
29
#endif
30
GENICAM_NAMESPACE
Definition:
GCArray.h:32
GENICAM_NAMESPACE::ILogger::~ILogger
virtual ~ILogger()
Definition:
ILogger.h:23
GENICAM_NAMESPACE::ILogger
Definition:
ILogger.h:11
GENICAM_NAMESPACE::ILogger::INFO
@ INFO
Definition:
ILogger.h:18
GENICAM_NAMESPACE::ILogger::NOTSET
@ NOTSET
Definition:
ILogger.h:20
GENICAM_NAMESPACE::ILogger::LogVA
virtual void LogVA(Priority value, const char *stringFormat, va_list arg)=0
GENICAM_NAMESPACE::ILogger::WARN
@ WARN
Definition:
ILogger.h:17
GENICAM_NAMESPACE::ILogger::Log
virtual void Log(Priority value, const char *stringFormat,...)=0
GENICAM_NAMESPACE::ILogger::DEBUG
@ DEBUG
Definition:
ILogger.h:19
GENICAM_NAMESPACE::ILogger::ERR
@ ERR
Definition:
ILogger.h:16
Priority
The Priority class provides importance levels with which one can categorize log messages.
Definition:
Priority.hh:62
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11