logo

Apache POI Excel Cell Fonts

In Java code examples below we show you how to use Apache POI library to generate Excel file with custom font style for Excel cells such as bold, italic, underline, strikeout, type offset, font name, font height and color.

Log4j 2 Properties Configuration with Console Appender

Java Code Examples for using org.apache.logging.log4j.LogManager and org.apache.logging.log4j.Logger classes. The Java code example below to show you how to configure Log4j 2 with Properties configuration file to log messages to sytem console using Console appender.

Log4j 2 YAML Configuration with Console Appender

Java Code Examples for using org.apache.logging.log4j.LogManager and org.apache.logging.log4j.Logger classes. The Java code example below to show you how to configure Log4j 2 with YAML configuration file to log messages to sytem console using Console appender.

Log4j 2 XML Configuration with Console Appender

Java Code Examples for using org.apache.logging.log4j.LogManager and org.apache.logging.log4j.Logger classes. The Java code example below to show you how to configure Log4j 2 with XML configuration file to log messages to sytem console using Console appender.

Log4j 2 JSON Configuration with Console Appender

Java Code Examples for using org.apache.logging.log4j.LogManager and org.apache.logging.log4j.Logger classes. The Java code example below to show you how to configure Log4j 2 with JSON configuration file to log messages to sytem console using Console appender.