Refactor logHooks
Update statics