search

Home  >  Q&A  >  body text

javascript - JS error when running Cannot read property 'info' of undefined

I get an error when running in JS

How should I solve it

世界只因有你世界只因有你2759 days ago1044

reply all(2)I'll reply

  • 扔个三星炸死你

    扔个三星炸死你2017-06-24 09:45:51

    const logger = log4js.getLogger('info');

    reply
    0
  • 为情所困

    为情所困2017-06-24 09:45:51

    console.log(logger) to see if there is an info attribute or method

    reply
    0
  • Cancelreply