simpler logger (errors detection in core)