Topic: Best Practices for Error Reporting

Can someone point me to a guide or give a brief explanation of implementing error reporting

I have an example using

ActiveRecord::Base.logger.error

Is this the best implementation

Some goals are:

Logging errors to the server

Displaying friendly error messages to the user

Thanks!