Keyple Util C++ Library - 2.4.0
Component of the Keyple C++ middleware
src
main
keyple
core
util
cpp
LoggerFactory.cpp
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3
* *
4
* See the NOTICE file(s) distributed with this work for additional *
5
* information regarding copyright ownership. *
6
* *
7
* This program and the accompanying materials are made available under the *
8
* terms of the Eclipse Public License 2.0 which is available at *
9
* http://www.eclipse.org/legal/epl-2.0 *
10
* *
11
* SPDX-License-Identifier: EPL-2.0 *
12
******************************************************************************/
13
14
#include "keyple/core/util/cpp/LoggerFactory.hpp"
15
16
#include <memory>
17
18
namespace
keyple
{
19
namespace
core {
20
namespace
util {
21
namespace
cpp {
22
23
std::mutex LoggerFactory::mtx;
24
25
std::unique_ptr<Logger>
26
LoggerFactory::getLogger(
const
std::type_info& type)
27
{
28
return
std::unique_ptr<Logger>(
new
Logger(type.name(), &mtx));
29
}
30
31
}
/* namespace cpp */
32
}
/* namespace util */
33
}
/* namespace core */
34
}
/* namespace keyple */
keyple
Definition:
ApduUtil.cpp:20
Generated by
1.9.2