Java Doc for MessageLogger.java in  » Code-Analyzer » apache-ivy » org » apache » ivy » 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 » Code Analyzer » apache ivy » org.apache.ivy.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.ivy.util.MessageLogger

All known Subclasses:   org.apache.ivy.util.MessageLoggerEngine,  org.apache.ivy.util.AbstractMessageLogger,
MessageLogger
public interface MessageLogger (Code)
A MessageLogger is used to log messages.

Where the messages are logged is depending on the implementation.

This interface provides both level specific methods ( MessageLogger.info(String) , MessageLogger.warn(String) , ...) and generic methods ( MessageLogger.log(String,int) , MessageLogger.rawlog(String,int) ). Note that calling level specific methods is usually not equivalent to calling the generic method with the corresponding level. Indeed, for warn and error level, the implementation will actually log the message at a lower level (usually Message.MSG_VERBOSE ) and log the message at the actual level only when MessageLogger.sumupProblems() is called.


See Also:   Message




Method Summary
abstract public  voidclearProblems()
     Clears the list of problems, warns and errors.
abstract public  voiddebug(String msg)
    
abstract public  voiddeprecated(String msg)
    
abstract public  voidendProgress()
    
abstract public  voidendProgress(String msg)
    
abstract public  voiderror(String msg)
    
abstract public  ListgetErrors()
    
abstract public  ListgetProblems()
    
abstract public  ListgetWarns()
    
abstract public  voidinfo(String msg)
    
abstract public  booleanisShowProgress()
    
abstract public  voidlog(String msg, int level)
     Logs a message at the given level.
abstract public  voidprogress()
    
abstract public  voidrawinfo(String msg)
    
abstract public  voidrawlog(String msg, int level)
     Same as MessageLogger.log(String,int) , but without adding any contextual information to the message.
abstract public  voidsetShowProgress(boolean progress)
    
abstract public  voidsumupProblems()
     Sumup all problems encountered so far, and clear them.
abstract public  voidverbose(String msg)
    
abstract public  voidwarn(String msg)
    



Method Detail
clearProblems
abstract public void clearProblems()(Code)
Clears the list of problems, warns and errors.



debug
abstract public void debug(String msg)(Code)



deprecated
abstract public void deprecated(String msg)(Code)



endProgress
abstract public void endProgress()(Code)



endProgress
abstract public void endProgress(String msg)(Code)



error
abstract public void error(String msg)(Code)



getErrors
abstract public List getErrors()(Code)



getProblems
abstract public List getProblems()(Code)



getWarns
abstract public List getWarns()(Code)



info
abstract public void info(String msg)(Code)



isShowProgress
abstract public boolean isShowProgress()(Code)



log
abstract public void log(String msg, int level)(Code)
Logs a message at the given level.

level constants are defined in the Message class.


Parameters:
  msg - the message to log
Parameters:
  level - the level at which the message should be logged.
See Also:   Message.MSG_DEBUG
See Also:   Message.MSG_VERBOSE
See Also:   Message.MSG_INFO
See Also:   Message.MSG_WARN
See Also:   Message.MSG_ERROR



progress
abstract public void progress()(Code)



rawinfo
abstract public void rawinfo(String msg)(Code)



rawlog
abstract public void rawlog(String msg, int level)(Code)
Same as MessageLogger.log(String,int) , but without adding any contextual information to the message.
Parameters:
  msg - the message to log
Parameters:
  level - the level at which the message should be logged.



setShowProgress
abstract public void setShowProgress(boolean progress)(Code)



sumupProblems
abstract public void sumupProblems()(Code)
Sumup all problems encountered so far, and clear them.



verbose
abstract public void verbose(String msg)(Code)



warn
abstract public void warn(String msg)(Code)



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