What is the purpose of p character used in the conversionPattern of PatternLayout object?

Question:What is the purpose of p character used in the conversionPattern of PatternLayout object?

1.Outputs the platform dependent line separator character or characters.

2.Used to output the priority of the logging event.

3.Used to output the number of milliseconds elapsed from the construction of the layout until the creation of the logging event.

4.Used to output the name of the thread that generated the logging event.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!