-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Create 3 functions inside Logger class:-
- info()
Takes in a string argumentmessageand prints string in below format:-
[INFO] message - warn()
Takes in a string argumentmessageand prints string in below format:-
[WARNING] message - error()
Takes in a string argumentmessageand prints string in below format:-
[ERROR] message
For eg:-
Code
Logger log;
log.info("Some information");
log.warn("Some warning");
log.error("Some error");
Expected Output:
[INFO] Some information
[WARNING] Some warning
[ERROR] Some error
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers