Time to make our logger configurable.

  • Add the parameter configString to the logger function
  • The config string can include any of the substrings :date, :method or :url.
  • These are the config options which should be split by space, i.e. :date :method or :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.