mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-04-28 14:08:17 +00:00
Update sdv_packager (#6)
This commit is contained in:
@@ -1,9 +1,28 @@
|
||||
/********************************************************************************
|
||||
* Copyright (c) 2025-2026 ZF Friedrichshafen AG
|
||||
*
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Apache License Version 2.0 which is available at
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Contributors:
|
||||
* Erik Verhoeven - initial API and implementation
|
||||
********************************************************************************/
|
||||
|
||||
#include "logger_control.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <process.h> // Needed for _getpid
|
||||
#endif
|
||||
|
||||
CLoggerControl& GetLoggerControl()
|
||||
{
|
||||
static CLoggerControl logger_control;
|
||||
return logger_control;
|
||||
}
|
||||
|
||||
CLoggerControl::~CLoggerControl()
|
||||
{
|
||||
// Reset the logger. This will finialize an open log.
|
||||
|
||||
Reference in New Issue
Block a user