Add _log to prototype