-
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 » -
logging
Write Log entries to log file
With this example we are going to demonstrate how to write Log entries to a log file. In short, to…
Read More » -
Collections
Swap List elements example
This is an example of how to swap a List’s elements . We are using the swap(List list, int i,…
Read More » -
Collections
Shuffle List elements example
In this example we shall show you how to shuffle a List’s elements. This is provided by the shuffle(List list)…
Read More » -
Collections
Reverse order of List example
With this example we are going to demonstrate how to reverse the order of a List. This is provided by…
Read More »