mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-30 10:59:43 +08:00
update Log.cpp
This commit is contained in:
parent
54a1261ff2
commit
a4876c0b97
@ -63,6 +63,7 @@ std::shared_ptr<spdlog::logger> getHikyuuLogger() {
|
||||
#if HKU_USE_SPDLOG_ASYNC_LOGGER
|
||||
void initLogger(bool inJupyter) {
|
||||
std::string logname = "hikyuu";
|
||||
spdlog::drop(logname);
|
||||
std::shared_ptr<spdlog::logger> logger = spdlog::get(logname);
|
||||
if (logger) {
|
||||
spdlog::drop(logname);
|
||||
@ -91,6 +92,7 @@ void initLogger(bool inJupyter) {
|
||||
|
||||
void initLogger(bool inJupyter) {
|
||||
std::string logname = "hikyuu";
|
||||
spdlog::drop(logname);
|
||||
std::shared_ptr<spdlog::logger> logger = spdlog::get(logname);
|
||||
if (logger) {
|
||||
spdlog::drop(logname);
|
||||
|
Loading…
Reference in New Issue
Block a user