add stub warn()
changed to Logger, added stub error