added end() to Log.java