// 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 // --------------------------------------------------------------------------- // Global Functions // --------------------------------------------------------------------------- /// Initializes the activity log. extern HOST_SW_API bool ActivityLogInitialise(const std::string& filePath, const std::string& fileRoot); /// Finalizes the activity log. extern HOST_SW_API void ActivityLogFinalise(); /// Writes a new entry to the activity log. extern HOST_SW_API void ActivityLog(const char* msg, ...); #endif // __ACTIVITY_LOG_H__