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