InformationManager* current_information_manager;
InformationManager::InformationManager()
- : logger(log4cxx::Logger::getLogger("InformationManager"))
+ : logger(log4cxx::Logger::getLogger("core.InformationManager"))
{
current_information_manager = this;
}
InformationManager* manager,
ObjectFile* file)
: Disassembler()
- , logger(log4cxx::Logger::getLogger("LLVMDisassembler"))
+ , logger(log4cxx::Logger::getLogger("disassembler.LLVMDisassembler"))
, triple("unknown-unknown-unknown")
, manager(manager)
{
Mainwindow::Mainwindow(InformationManager* mgr)
: manager(mgr)
- , logger(log4cxx::Logger::getLogger("Mainwindow")) {
+ , logger(log4cxx::Logger::getLogger("gui.Mainwindow")) {
openAction = new QAction(tr("&Open"), this);
loadAction = new QAction(tr("&Load"), this);
saveAction = new QAction(tr("&Save"), this);
: width(270), height(45), name(name)
, _table(NULL)
, block(block), mainwindow(mainwindow)
- , logger(log4cxx::Logger::getLogger(name.toStdString() + " BasicBlockWidget")) {
+ , logger(log4cxx::Logger::getLogger("gui.BasicBlockWidget." + name.toStdString())) {
next[0] = NULL; next[1] = NULL;
block->getManager()->connect_rename_function_signal([=](RenameFunctionEvent* event) {updateFunctionName(event);});
FunctionWidget::FunctionWidget(Function* function, Mainwindow* mainwindow)
: function(function)
, mainwindow(mainwindow)
- , logger(log4cxx::Logger::getLogger("Mainwindow")) {
+ , logger(log4cxx::Logger::getLogger("gui.Mainwindow")) {
// CFG
CFGScene * scene = new CFGScene;
ScriptingDock::ScriptingDock(Interpreter* interpreter, FridaDock* parent)
: QWidget(parent)
- , logger(log4cxx::Logger::getLogger("ScriptingDock"))
+ , logger(log4cxx::Logger::getLogger("gui.ScriptingDock"))
, interpreter(interpreter) {
setLayout(layout = new QGridLayout);
layout->addWidget(browser = new QTextBrowser, 0, 0, 1, 0);