mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-19 03:20:56 -05:00
18 lines
361 B
C++
18 lines
361 B
C++
// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
|
|
|
|
#include <logdump/logdump.h>
|
|
#include <Logger.hpp>
|
|
|
|
using namespace Log;
|
|
|
|
int diagnosticDumpLogs()
|
|
{
|
|
return Logger::get().diagnosticDump();
|
|
}
|
|
|
|
int shutdownFlushLogs()
|
|
{
|
|
return Logger::get().flushLogs();
|
|
}
|