Fix type in custom logging example