Keyple Util C++ Library 2.0.0
Reference Terminal Reader API for C++
src
main
cpp
LoggerFactory.h
Go to the documentation of this file.
1
/**************************************************************************************************
2
* Copyright (c) 2021 Calypso Networks Association https://calypsonet.org/ *
3
* *
4
* See the NOTICE file(s) distributed with this work for additional information regarding *
5
* copyright ownership. *
6
* *
7
* This program and the accompanying materials are made available under the terms of the Eclipse *
8
* Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 *
9
* *
10
* SPDX-License-Identifier: EPL-2.0 *
11
**************************************************************************************************/
12
13
#pragma once
14
15
#include <memory>
16
#include <mutex>
17
#include <typeinfo>
18
#include <vector>
19
20
/* Util */
21
#include "
KeypleUtilExport.h
"
22
#include "
Logger.h
"
23
24
namespace
keyple
{
25
namespace
core {
26
namespace
util {
27
namespace
cpp {
28
29
class
KEYPLEUTIL_API
LoggerFactory
{
30
public
:
34
static
std::mutex
mtx
;
35
39
static
std::unique_ptr<Logger> getLogger(
const
std::type_info& type);
40
};
41
42
}
43
}
44
}
45
}
KeypleUtilExport.h
KEYPLEUTIL_API
#define KEYPLEUTIL_API
Definition:
KeypleUtilExport.h:22
Logger.h
keyple::core::util::cpp::LoggerFactory
Definition:
LoggerFactory.h:29
keyple::core::util::cpp::LoggerFactory::mtx
static std::mutex mtx
Definition:
LoggerFactory.h:34
keyple
Definition:
ApduUtil.cpp:18
Generated by
1.9.2