add compile time test for log struct size