add error logging in Logger
use 'k' prefix for 'static const' fields