Formatting Logging Information in log4j
Apress eBooks · 2006
ConclusionIn this chapter, I have discussed in detail how each Layout object behaves and to configure these objects through a configuration file. The log4j API provides a comprehensive set of Layout objects, which is sufficient for most applications. If your application needs amore sophisticated Layout object, you must create one for yourself. You will see how to write a new Layout object in Chapter 6. In the next chapter, you will see a complete example of using log4j in a real-life application.