Adding class (LogHeading) for automatic heading generation