nerdexam
IBM

C2180-408 · Question #53

The following code appears in a Worklight application: WL.Logger.on({blacklist: ['customer_controller']}); var CustomerMdlLogger = new WL.Logger.create({pkg: ustomer_model);var CustomerMdlLogger =…

The correct answer is D. Option D. See the full explanation below for the reasoning.

Question

The following code appears in a Worklight application:

WL.Logger.on({blacklist: ['customer_controller']}); var CustomerMdlLogger = new WL.Logger.create({pkg: ustomer_model);var CustomerMdlLogger = new WL.Logger.create({pkg: ?ustomer_model?); CustomerMdlLogger.info(debug? 1);CustomerMdlLogger.info(debug? 1); WL.Logger.ctx({pkg:

ustomer_model).error(debug? 2); WL.Logger.ctx({pkg: ?ustomer_model?).error(debug? 2); WL.Logger.info(ebug 3?;.WL.Logger.info(debug 3?;. CustomerMdlLogger.error(debug? 4); CustomerMdlLogger.error(debug? 4); What output should a mobile application developer expect?

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    13% (4)
  • C
    9% (3)
  • D
    75% (24)

Community Discussion

No community discussion yet for this question.

Full C2180-408 Practice