AppDynamics IoT C++ SDK
AppDynamics IoT C++ library contains code that facilitates capturing availability, usage, network performance and errors of an IoT Application.
log.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 AppDynamics, Inc., and its affiliates
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef _LOG_H
18
#define _LOG_H
19
20
#include <stdio.h>
21
#include <stdarg.h>
22
#include <sys/time.h>
23
#include "
appd_iot_interface.h
"
24
30
void
appd_iot_log
(
appd_iot_log_level_t
log_level,
31
const
char
* format, ...) __attribute__((format(printf, 2, 3)));
32
33
#endif // _LOG_H
appd_iot_log_level_t
appd_iot_log_level_t
Log Level Enums returned for all API calls.
Definition:
appd_iot_def.h:94
appd_iot_interface.h
appd_iot_log
void appd_iot_log(appd_iot_log_level_t log_level, const char *format,...) __attribute__((format(printf
Reads log message, appends log header and triggers log write callback function.
src
log.hpp
Generated by
1.8.13