log error to console
version 1.0.0