PageRenderTime 54ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/mpv5/logging/LogConsole.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 32 lines | 8 code | 6 blank | 18 comment | 0 complexity | fbb9705d3980aeeb4c3d58f87b339acf MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package mpv5.logging;
  6. import javax.swing.JComponent;
  7. /**
  8. *
  9. * @author anti
  10. */
  11. public interface LogConsole {
  12. /**
  13. * Append a new line to the logging object
  14. */
  15. public void log();
  16. /**
  17. * Log the String value of the given Object
  18. * @param object Null objects will lead to the String "NULL"
  19. */
  20. public void log(final Object object);
  21. /**
  22. * Flush the console contents
  23. */
  24. public void flush();
  25. public JComponent open();
  26. }