Adds log method

Why?