How-to articles, tricks, and solutions about LOGGING
Good examples using java.util.logging
Here are some examples of how to use the java.util.logging package to log messages in Java:
How do I write to the console from a Laravel Controller?
You can use the Log facade to write to the console from a Laravel controller.
How to Get the Query Executed in Laravel 5? DB::getQueryLog() Returning Empty Array
To get the query executed in Laravel 5, you can use the DB::getQueryLog() method.
How to write logs in text file when using java.util.logging.Logger
To write logs to a text file using java.util.logging.Logger, you will need to do the following: