Create logger challenge
Now that Chalk is installed, you will create a logger.ts
file that will handle logging messages with different colors.
Tasks:
logger.ts
file in the src
directory.info
, warn
, and error
, each with its distinct color.Complete the following steps to finish this lesson.