Java Doc for LogUtil.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » com.sun.rave.web.ui.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.rave.web.ui.util.LogUtil

LogUtil
public class LogUtil (Code)

This class provides helper methods for logging messages. It uses standard J2SE logging. However, using these API's is abstracts this away from our code in case we want to go back to Apache commons logging or some other logging API in the future.

The logging levels follow the J2SE log level names, they are as follows:

  • FINEST -- Highly detailed tracing message
  • FINER -- Fairly detailed tracing message
  • FINE -- Coarse tracing message
  • CONFIG -- Static configuration messages
  • INFO -- Informational messages (logged by default)
  • WARNING -- Potentially problematic messages
  • SEVERE -- Serious failure messages

author:
   Ken Paulsen (ken.paulsen@sun.com)


Field Summary
final public static  StringBUNDLE_NAME
    
final public static  StringDEFAULT_LOGGER_NAME
    
final public static  StringDEFAULT_LOG_KEY
    
final public static  StringKEY_NOT_FOUND_KEY
    


Method Summary
public static  voidconfig(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidconfig(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidconfig(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidconfig(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidconfig(String msg)
    

Logging method to log a simple localized or non-localized message.

public static  voidconfig(Object loggerId, String msg)
    

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.

public static  voidconfig(String msg, Throwable ex)
    
public static  voidconfig(Object loggerId, String msg, Throwable ex)
    

Logging method to log a Throwable with a message.

public static  booleanconfigEnabled()
    
public static  booleanconfigEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.
public static  voidfine(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidfine(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidfine(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidfine(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidfine(String msg)
    

Logging method to log a simple localized or non-localized message.

public static  voidfine(Object loggerId, String msg)
    

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.

public static  voidfine(String msg, Throwable ex)
    
public static  voidfine(Object loggerId, String msg, Throwable ex)
    

Logging method to log a Throwable with a message.

public static  booleanfineEnabled()
    
public static  booleanfineEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.
public static  voidfiner(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidfiner(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidfiner(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidfiner(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidfiner(String msg)
    

Logging method to log a simple localized or non-localized message.

public static  voidfiner(Object loggerId, String msg)
    

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.

public static  voidfiner(String msg, Throwable ex)
    
public static  voidfiner(Object loggerId, String msg, Throwable ex)
    

Logging method to log a Throwable with a message.

public static  booleanfinerEnabled()
    
public static  booleanfinerEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.
public static  voidfinest(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidfinest(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidfinest(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidfinest(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidfinest(String msg)
    

Logging method to log a simple localized or non-localized message.

public static  voidfinest(Object loggerId, String msg)
    

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.

public static  voidfinest(String msg, Throwable ex)
    
public static  voidfinest(Object loggerId, String msg, Throwable ex)
    

Logging method to log a Throwable with a message.

public static  booleanfinestEnabled()
    
public static  booleanfinestEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.
public static  voidinfo(String msgId)
    

Logging method to log a simple localized message.

public static  voidinfo(Object loggerId, String msgId)
    

Logging method to log a simple localized message.

public static  voidinfo(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidinfo(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidinfo(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidinfo(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidinfo(String msgId, Throwable ex)
    
public static  voidinfo(Object loggerId, String msgId, Throwable ex)
    

Logging method to log a Throwable with a localized message.

public static  booleaninfoEnabled()
    
public static  booleaninfoEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.
public static  voidsevere(String msgId)
    

Logging method to log a simple localized message.

public static  voidsevere(Object loggerId, String msgId)
    

Logging method to log a simple localized message.

public static  voidsevere(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidsevere(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidsevere(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidsevere(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidsevere(String msgId, Throwable ex)
    
public static  voidsevere(Object loggerId, String msgId, Throwable ex)
    

Logging method to log a Throwable with a localized message.

public static  booleansevereEnabled()
    
public static  booleansevereEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.
public static  voidwarning(String msgId)
    

Logging method to log a simple localized message.

public static  voidwarning(Object loggerId, String msgId)
    

Logging method to log a simple localized message.

public static  voidwarning(String msgId, Object param)
    

Logging method supporting a localized message key and a single substitution parameter.

public static  voidwarning(String msgId, Object params)
    

Logging method supporting a localized message key and zero or more substitution parameters.

public static  voidwarning(Object loggerId, String msgId, Object param)
    

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidwarning(Object loggerId, String msgId, Object params)
    

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use.
public static  voidwarning(String msgId, Throwable ex)
    
public static  voidwarning(Object loggerId, String msgId, Throwable ex)
    

Logging method to log a Throwable with a localized message.

public static  booleanwarningEnabled()
    
public static  booleanwarningEnabled(Object loggerId)
    

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check.

Field Detail
BUNDLE_NAME
final public static String BUNDLE_NAME(Code)

This is the bundle name for the ResourceBundle that contains all the message strings.




DEFAULT_LOGGER_NAME
final public static String DEFAULT_LOGGER_NAME(Code)

This is the default logger name.




DEFAULT_LOG_KEY
final public static String DEFAULT_LOG_KEY(Code)

This is the default log key.




KEY_NOT_FOUND_KEY
final public static String KEY_NOT_FOUND_KEY(Code)

This key is used when the requested key is not found to inform the developer they forgot to add a key.






Method Detail
config
public static void config(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



config
public static void config(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



config
public static void config(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



config
public static void config(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



config
public static void config(String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.


Parameters:
  msg - The message (or ResourceBundle key).



config
public static void config(Object loggerId, String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message (or ResourceBundle key).



config
public static void config(String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message.


Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



config
public static void config(Object loggerId, String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



configEnabled
public static boolean configEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



configEnabled
public static boolean configEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



fine
public static void fine(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



fine
public static void fine(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



fine
public static void fine(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



fine
public static void fine(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



fine
public static void fine(String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.


Parameters:
  msg - The message (or ResourceBundle key).



fine
public static void fine(Object loggerId, String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message (or ResourceBundle key).



fine
public static void fine(String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message.


Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



fine
public static void fine(Object loggerId, String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



fineEnabled
public static boolean fineEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



fineEnabled
public static boolean fineEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



finer
public static void finer(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finer
public static void finer(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finer
public static void finer(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finer
public static void finer(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finer
public static void finer(String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.


Parameters:
  msg - The message (or ResourceBundle key).



finer
public static void finer(Object loggerId, String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message (or ResourceBundle key).



finer
public static void finer(String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message.


Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



finer
public static void finer(Object loggerId, String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



finerEnabled
public static boolean finerEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



finerEnabled
public static boolean finerEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



finest
public static void finest(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finest
public static void finest(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finest
public static void finest(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finest
public static void finest(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



finest
public static void finest(String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg.


Parameters:
  msg - The message (or ResourceBundle key).



finest
public static void finest(Object loggerId, String msg)(Code)

Logging method to log a simple localized or non-localized message. This method will first attempt to find msg in the properties file, if not found it will print the given msg. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message (or ResourceBundle key).



finest
public static void finest(String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message.


Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



finest
public static void finest(Object loggerId, String msg, Throwable ex)(Code)

Logging method to log a Throwable with a message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msg - The message.
Parameters:
  ex - The Throwable to log.



finestEnabled
public static boolean finestEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



finestEnabled
public static boolean finestEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



info
public static void info(String msgId)(Code)

Logging method to log a simple localized message. The default Logger will be used.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(Object loggerId, String msgId)(Code)

Logging method to log a simple localized message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(String msgId, Throwable ex)(Code)

Logging method to log a Throwable with a localized message.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  ex - The Throwable to log.
See Also:   LogUtil.BUNDLE_NAME



info
public static void info(Object loggerId, String msgId, Throwable ex)(Code)

Logging method to log a Throwable with a localized message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  ex - The Throwable to log.
See Also:   LogUtil.BUNDLE_NAME



infoEnabled
public static boolean infoEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



infoEnabled
public static boolean infoEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



severe
public static void severe(String msgId)(Code)

Logging method to log a simple localized message. The default Logger will be used.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(Object loggerId, String msgId)(Code)

Logging method to log a simple localized message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(String msgId, Throwable ex)(Code)

Logging method to log a Throwable with a localized message.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  ex - The Throwable to log.
See Also:   LogUtil.BUNDLE_NAME



severe
public static void severe(Object loggerId, String msgId, Throwable ex)(Code)

Logging method to log a Throwable with a localized message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  ex - The Throwable to log.
See Also:   LogUtil.BUNDLE_NAME



severeEnabled
public static boolean severeEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



severeEnabled
public static boolean severeEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



warning
public static void warning(String msgId)(Code)

Logging method to log a simple localized message. The default Logger will be used.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(Object loggerId, String msgId)(Code)

Logging method to log a simple localized message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(String msgId, Object param)(Code)

Logging method supporting a localized message key and a single substitution parameter. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(String msgId, Object params)(Code)

Logging method supporting a localized message key and zero or more substitution parameters. It will use the default Logger.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(Object loggerId, String msgId, Object param)(Code)

Logging method supporting a localized message key, a single substitution parameter, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  param - Value to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(Object loggerId, String msgId, Object params)(Code)

Logging method supporting a localized message key, zero or more substitution parameters, and the ability to specify the Logger.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  params - Value(s) to substitute into the message.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(String msgId, Throwable ex)(Code)

Logging method to log a Throwable with a localized message.


Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  ex - The Throwable to log.
See Also:   LogUtil.BUNDLE_NAME



warning
public static void warning(Object loggerId, String msgId, Throwable ex)(Code)

Logging method to log a Throwable with a localized message. The specified Logger will be used.


Parameters:
  loggerId - The logger to use. This may be specified as aString or Class Object.
Parameters:
  msgId - The ResourceBundle key used to lookupthe message.
Parameters:
  ex - The Throwable to log.
See Also:   LogUtil.BUNDLE_NAME



warningEnabled
public static boolean warningEnabled()(Code)

Method to check if this log level is enabled for the default logger.

true if the log level is enabled, false otherwise.



warningEnabled
public static boolean warningEnabled(Object loggerId)(Code)

Method to check if this log level is enabled for the given logger.


Parameters:
  loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.