Search Header Logo

Nodejs: Logging

Authored by Daniel Adesoji

Professional Development

Professional Development

Used 9+ times

Nodejs: Logging
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One important purpose of logging in the backend is to:

save info about each flow during runtime

save data to the db

save info to a file

none of the options

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An inbuilt object in Nodejs that can be used for logging is?

Timeout

Console

Error

Logger

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All information should be logged?

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following should be logged?

personal data

passwords

credit card info

start of a process

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following packages can you use as a logger?

Winston

JonWick

Continental

DeadDog

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To log HTTP requests, we can use ______ package

Morgan

Logger

Console

File

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is not a log level

Info

Warn

Debug

Node

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?