Main log class and data format