Add formatting for logging
Add INLINABLE for hash fns