ICommand interaface obsolete, log method