52class ExitLogger :
public Logger
55 ExitLogger(
const char *prefix) : Logger(prefix)
57 registerExtraLog([]() {
63class FatalLogger :
public ExitLogger
66 using ExitLogger::ExitLogger;
82 static ExitLogger* panic_logger =
new ExitLogger(
"panic: ");
88 static FatalLogger* fatal_logger =
new FatalLogger(
"fatal: ");
static Logger & getWarn()
Logger(const char *prefix)
static Logger & getInfo()
static Logger & getHack()
static Logger & getPanic()
Get a Logger for the specified type of message.
static Logger & getFatal()
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t memUsage()
Determine the simulator process' total virtual memory usage.
std::string csprintf(const char *format, const Args &...args)