Use SingleMessageLogger when creating deprecation message.