File tree Expand file tree Collapse file tree
AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 * execution time.
2929 * </p>
3030 * <p>
31+ * Since <i>AndroidAnnotations 3.1</i> log messages contain the method parameter
32+ * and return values
33+ * </p>
34+ * <p>
3135 * All annotation values are optional :
3236 * </p>
3337 * <ul>
4650 * void doWork() {
4751 * // ... Do Work ...
4852 * }
53+ *
54+ * @Trace
55+ * boolean doMoreWork(String someString) {
56+ * // ... Do more Work ...
57+ * }
4958 * </pre>
5059 *
5160 * This will log these lines :
5261 *
5362 * <pre>
5463 * I/TracedMethodActivity( 302): Entering [void doWork() ]
5564 * I/TracedMethodActivity( 302): Exiting [void doWork() ], duration in ms: 1002
65+ * I/TracedMethodActivity( 302): Entering [boolean doMoreWork(someString = Hello World)]
66+ * I/TracedMethodActivity( 302): Exiting [boolean doMoreWork(String) returning: true], duration in ms: 651
5667 * </pre>
5768 *
5869 * </blockquote>
You can’t perform that action at this time.
0 commit comments