Name |
---|
AclLog A namespace for logging utilities. |
// Copyright (c) 2022, Edgeware AB. All rights reserved.
#pragma once
#include <string>
namespace AclLog {
enum class Level {
kTrace, // Detailed diagnostics (for development only)
kDebug, // Messages intended for debugging only
kInfo, // Messages about normal behavior (default log level)
kWarning, // Warnings (functionality intact)
kError, // Recoverable errors (functionality impaired)
kCritical, // Unrecoverable errors (application must stop)
kOff // Turns off all logging
};
void init(const std::string& name);
void setLevel(Level level);
} // namespace AclLog
Updated on 2022-06-22 at 16:53:25 +0200