Knowledge check

Completed

Answer these questions to demonstrate what you've learned:

Check your knowledge

1.

What's the idiomatic way to handle errors in Go?

2.

Which function can you use to create an error variable?

3.

Which of the following functions are in the log package?

4.

Which function can you use to configure logging to a file?

5.

Why would you want to use a logging framework?