added EPSLogging and use EPSLog for NSLog, which is eliminated in production code