Refactor logger and events
Refactor include guard
Disable NSLog for Release/Profile mode