Edited some methods in LogManager.java and added api examples