Save log to file and always save e2ee debug logs

This will hopefully help us debug e2ee problems
This commit is contained in:
Tobias Fella
2023-05-05 10:15:43 +00:00
parent 5107f0e79e
commit 443d709eb8
4 changed files with 221 additions and 0 deletions

9
src/logger.h Normal file
View File

@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: 2023 Tobias Fella <tobias.fella@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/**
* Initlalize logging to file and enables some additional categories, which will only be logged to the file
*/
void initLogging();