method Logger.prototype.error Logger.prototype.error(message: string): void Logs an error message Parameters message: string Return Type void