Add Line Numbers to Log Output
·
89 words
·
1 minute read
Many programming languages allow you to print the line number of when and where something has happened. This is very useful for debugging a problem when it has occurred. By default in Go this is off, but you can turn it on when logging by setting flags.
|
|