Keyple Util C++ Library 2.0.0
Reference Terminal Reader API for C++
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
24namespace keyple {
25namespace core {
26namespace util {
27namespace cpp {
28
30public:
34 static std::mutex mtx;
35
39 static std::unique_ptr<Logger> getLogger(const std::type_info& type);
40};
41
42}
43}
44}
45}
#define KEYPLEUTIL_API