title: Create a Logger Library in java
body: <p>I would like to create a  logger class library. The requirements are </p>
  
  <ol>
  <li>Write the log in a file in a specified path</li>
  <li>Change the path of Log file</li>
  <li>Write the log in system console</li>
  <li>Write debug mode to the log file</li>
  <li>Generate separate log for WARNING, ERROR and INFO messages.</li>
  </ol>
  
  <p>How can I begin this with out extending the Log4J or logger or any other built in libraries. Any guidance would be grateful.
  Thanks in advance.</p>