initial work on loggin class

This commit is contained in:
georgemoralis 2023-05-16 19:31:53 +03:00
parent 08f8da2fea
commit 81ca77a464
4 changed files with 56 additions and 2 deletions

View file

@ -18,6 +18,7 @@
#include "types.h"
#include "Loader/Elf.h"
#include "GUI/ElfViewer.h"
#include "Util/Log.h"
// This example can also compile and run with Emscripten! See 'Makefile.emscripten' for details.
#ifdef __EMSCRIPTEN__
@ -27,7 +28,8 @@
// Main code
int main(int argc, char* argv[])
{
const char* const path = argv[1]; //argument 1 is the path of self file to boot
logging::init(true);//init logging
const char* const path = argv[1]; //argument 1 is the path of self file to boot
Elf* elf = new Elf;
elf->Open(path);