Document of c-modernization-kit (porter)
1.0.0
Loading...
Searching...
No Matches
porter
libsrc
porter
infra
potrLog.h
Go to the documentation of this file.
1
25
26
#ifndef POTR_LOG_H
27
#define POTR_LOG_H
28
29
#include <
porter_type.h
>
30
31
#ifdef __cplusplus
32
extern
"C"
33
{
34
#endif
/* __cplusplus */
35
50
void
potr_log_write
(
PotrLogLevel
level,
const
char
*file,
int
line,
51
const
char
*fmt, ...);
52
68
#define POTR_LOG(level, ...) \
69
potr_log_write((level), __FILE__, __LINE__, __VA_ARGS__)
70
71
#ifdef __cplusplus
72
}
73
#endif
/* __cplusplus */
74
75
#endif
/* POTR_LOG_H */
porter_type.h
通信ライブラリの型定義ファイル。
PotrLogLevel
PotrLogLevel
ログレベル。
Definition
porter_type.h:333
potr_log_write
void potr_log_write(PotrLogLevel level, const char *file, int line, const char *fmt,...)
ログメッセージを書き込みます (内部関数)。
Definition
potrLog.c:128
Generated by
1.14.0