Handling the constant in log types