[DEV/API] change .h in .hpp
This commit is contained in:
parent
f6ed391fe6
commit
c9655922b6
@ -6,7 +6,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <elog/debug.h>
|
||||
#include <elog/debug.hpp>
|
||||
|
||||
int32_t elog::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("elog");
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
#include <assert.h>
|
||||
|
||||
namespace elog {
|
@ -6,9 +6,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/elog.h>
|
||||
#include <elog/debug.h>
|
||||
#include <elog/log.hpp>
|
||||
#include <elog/elog.hpp>
|
||||
#include <elog/debug.hpp>
|
||||
|
||||
static elog::level getLogLevel(const std::string& _value) {
|
||||
if (_value == "0") {
|
||||
|
@ -6,17 +6,17 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/debug.h>
|
||||
#include <elog/log.hpp>
|
||||
#include <elog/debug.hpp>
|
||||
#include <time.h>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <map>
|
||||
#include <inttypes.h>
|
||||
#ifdef ELOG_BUILD_ETHREAD
|
||||
#include <ethread/tools.h>
|
||||
#include <ethread/tools.hpp>
|
||||
#endif
|
||||
#include <elog/debug.h>
|
||||
#include <elog/debug.hpp>
|
||||
#include <string.h>
|
||||
#include <iostream>
|
||||
|
||||
|
@ -38,8 +38,8 @@ def create(target, module_name):
|
||||
my_module.add_src_file('elog/logIOs.m')
|
||||
|
||||
my_module.add_header_file([
|
||||
'elog/log.h',
|
||||
'elog/elog.h'
|
||||
'elog/log.hpp',
|
||||
'elog/elog.hpp'
|
||||
])
|
||||
|
||||
if target.get_mode() == "debug":
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include "debug.h"
|
||||
#include "debug.hpp"
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("your application name");
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
@ -6,8 +6,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
//! [elog_sample_main_include]
|
||||
#include "debug.h"
|
||||
#include <elog/elog.h>
|
||||
#include "debug.hpp"
|
||||
#include <elog/elog.hpp>
|
||||
//! [elog_sample_main_include]
|
||||
#include <iostream>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user