Logging message to console.