Revert "Revert "Create logger.java""

This reverts commit 0535e187302b159a3f36d939a0a57c0c0f4d0d0d.