Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
  
 
::  com  :: sun  :: star  :: logging  :: 
 
 
interface XLogFormatter 
 
 
Description  
specifies the interface to be used for formatting log records
  
Since   
OOo 2.3 
See also  
XLogHandler  
 
 
 
 
Methods' Summary 
 
getHead  
returns the header string for the log
   
 
format  
formats the given log record for output
   
 
getTail  
returns the footer string for the log
   
 
Methods' Details 
 
getHead 
 
Description  
returns the header string for the log
  
This can be used to generate a header string, which by the XLogHandler 
 is emitted to its output channel before actually logging any concrete
 LogRecord .
 For instance, a formatter might produce table-like plain text output,
 and could return a table-head string (potentially including line breaks)
 here.
  
 
 
 
 
 
format 
 
Description  
formats the given log record for output
  
A XLogHandler  will call this method to format a given
 log record. The resulting string will be emitted to the handler's output
 channel, without processing it any further (except possibly encoding it with
 the handler's Encoding).
  
 
 
 
 
 
getTail 
 
Description  
returns the footer string for the log
  
This can be used to generate a footer string, which by the XLogHandler 
 is emitted to its output channel before it is finally being closed.
  
 
 
 
 
 
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.