Add category to log messages.