I think you are looking at Strapi v3 docs. Those pop up first from a Google search.
This gives you a list of the log levels available:
Object.keys(strapi.log.levels).map( level => strapi.log[level](level))
I think you are looking at Strapi v3 docs. Those pop up first from a Google search.
This gives you a list of the log levels available:
Object.keys(strapi.log.levels).map( level => strapi.log[level](level))