Use a global LogMessage command to unify message printing.