Adds log method

Prevent accidental check in of debug file?