core java
-
logging
Use Logger MemoryHandler class
In this example we shall show you how to use the Logger MemoryHandler class. The MemoryHandler is a Handler that…
Read More » -
logging
Log an exception
With this example we are going to demonstrate how to log an exception. In order to do so, we will…
Read More » -
logging
Set size threshold of log file
This is an example of how to set size threshold of a log file. Setting size threshold of a log…
Read More » -
logging
Use of logger console handler
In this example we shall show you how to use a logger’s ConsoleHandler. The ConsoleHandler is a handler that takes…
Read More » -
logging
Set logger log level
With this example we are going to demonstrate how to set a Logger‘s log level. The Level defines a set…
Read More » -
logging
Create a sequence of log files
This is an example of how to create a sequence of log files. Creating a sequence of log files implies…
Read More » -
logging
Create custom Formatter for Logger handler
In this example we shall show you how to create custom Formatter for a Logger‘s Handler. The Handler usually uses…
Read More » -
logging
Set Formatter for Logger handler
With this example we are going to demonstrate how to set a Formatter for a Logger Handler. The Formatter is…
Read More » -
logging
Set filter on Logger handler
This is an example of how to set a filter on a Logger’s Handler. The Filter is used to provide…
Read More » -
logging
Log method call
In this example we shall show you how to log a method call. We have implemented the LogMethodCall Class, with…
Read More »