Time to make our logger configurable.
- Add the parameter
configStringto theloggerfunction - The config string can include any of the substrings
:date,:methodor:url. - These are the config options which should be split by space, i.e.
:date :methodor:date :url - For each known option you should include extra information into the
console.log - Unknown options should be ignored
This task is part of the Full-Stack JavaScript Course.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.