You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
// SPDX-License-Identifier: GPL-2.0-only
|
|
/**
|
|
* Digital Voice Modem - Modem Host Software
|
|
* GPLv2 Open Source. Use is subject to license terms.
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* @package DVM / DFSI peer application
|
|
* @derivedfrom MMDVMHost (https://github.com/g4klx/MMDVMHost)
|
|
* @license GPLv2 License (https://opensource.org/licenses/GPL-2.0)
|
|
*
|
|
* Copyright (C) 2024 Patrick McDonnell, W3AXL
|
|
*
|
|
*/
|
|
#if !defined(__ACTIVITY_LOG_H__)
|
|
#define __ACTIVITY_LOG_H__
|
|
|
|
#include "Defines.h"
|
|
|
|
#include <string>
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// Global Functions
|
|
// ---------------------------------------------------------------------------
|
|
|
|
/// <summary>Initializes the activity log.</summary>
|
|
extern HOST_SW_API bool ActivityLogInitialise(const std::string& filePath, const std::string& fileRoot);
|
|
/// <summary>Finalizes the activity log.</summary>
|
|
extern HOST_SW_API void ActivityLogFinalise();
|
|
/// <summary>Writes a new entry to the activity log.</summary>
|
|
extern HOST_SW_API void ActivityLog(const char* msg, ...);
|
|
|
|
#endif // __ACTIVITY_LOG_H__
|