[Nc-Core] Replaced debug log using cout to clog.