blob: 4b5cb9892df26bfaed075a5e2ce2ebe48ee6e421 [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include <vector>
#include "armnn/TypesUtils.hpp"
namespace armnn
{
enum class LogSeverity
{
Trace,
Debug,
Info,
Warning,
Error,
Fatal
};
/// Configures the logging behaviour of the ARMNN library.
/// printToStandardOutput: Set to true if log messages should be printed to the standard output.
/// printToDebugOutput: Set to true if log messages be printed to a platform-specific debug output
/// (where supported).
/// severity: All log messages that are at this severity level or higher will be printed, others will be ignored.
void ConfigureLogging(bool printToStandardOutput, bool printToDebugOutput, LogSeverity severity);
} // namespace armnn