52class ExitLogger :
public Logger
59 log(
const Loc &loc, std::string
s)
override
67class FatalLogger :
public ExitLogger
70 using ExitLogger::ExitLogger;
86 static ExitLogger* panic_logger =
new ExitLogger(
"panic: ");
92 static FatalLogger* fatal_logger =
new FatalLogger(
"fatal: ");
virtual void log(const Loc &loc, std::string s)
Generates the log message.
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 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t memUsage()
Determine the simulator process' total virtual memory usage.
void ccprintf(cp::Print &print)