Made logging way faster, and added the ability to exclude logging
Logging of all events