Created
August 31, 2018 06:09
-
-
Save jainnancy/b1508cc676da00b834668d09da5e4993 to your computer and use it in GitHub Desktop.
Client class is the class which will actually call the logging methods.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.knoldus | |
object Client extends App { | |
val logger = LoggerProxy.getLogger(this.getClass.getName) | |
logger.info("Log Contains IP address: 127.0.0.1") | |
logger.debug("UserName: jainnancy trying to sign in") | |
logger.error("Password: abxyz is wrong ") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment