Add a seperate Log class as Singleton
check why functions are not callable from qml