updated logger script to use the proxy design pattern, console still doesn't work