Writing logs of data at run time is one of the most important parts of a software application.

In case of any failure or unintended behavior, looking at the logs is one of the surest ways to fix the problem.

Depending on the verbosity level, the log message needs to be as verbose as possible.

For a log message to be effective, it needs to be descriptive and clear about what is occurring in the program.