Guest User

Untitled

a guest
Aug 29th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. package com.knoldus
  2.  
  3. import org.apache.log4j.BasicConfigurator
  4.  
  5. object Client extends App {
  6. BasicConfigurator.configure()
  7. val logger : LoggerHelper = LoggerProxy.getLogger(this.getClass.getName)
  8. logger.info("Log Contains IP address: 127.0.0.1")
  9. logger.debug("UserName: jainnancy trying to sign in")
  10. logger.error("Password: abxyz is wrong ")
  11. }
Add Comment
Please, Sign In to add comment