Added logging method that admits a Message type argument