register logging class