Log library and class registration