You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Trace.java 1.6KB

15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*******************************************************************************
  2. * Copyright (c) 2006 IBM Corporation and others.
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * Matthew Webster - initial implementation
  10. *******************************************************************************/
  11. package org.aspectj.weaver.tools;
  12. public interface Trace {
  13. public void enter(String methodName, Object thiz, Object[] args);
  14. public void enter(String methodName, Object thiz);
  15. public void exit(String methodName, Object ret);
  16. public void exit(String methodName, Throwable th);
  17. public void exit(String methodName);
  18. public void event(String methodName);
  19. public void event(String methodName, Object thiz, Object[] args);
  20. public void debug(String message);
  21. public void info(String message);
  22. public void warn(String message);
  23. public void warn(String message, Throwable th);
  24. public void error(String message);
  25. public void error(String message, Throwable th);
  26. public void fatal(String message);
  27. public void fatal(String message, Throwable th);
  28. public void enter(String methodName, Object thiz, Object arg);
  29. public void enter(String methodName, Object thiz, boolean z);
  30. public void exit(String methodName, boolean b);
  31. public void exit(String methodName, int i);
  32. public void event(String methodName, Object thiz, Object arg);
  33. public boolean isTraceEnabled();
  34. public void setTraceEnabled(boolean b);
  35. }