IanCao commented on a change in pull request #2605: Support span#error in toolkit URL: https://github.com/apache/skywalking/pull/2605#discussion_r282727246
########## File path: docs/en/setup/service-agent/java-agent/Application-toolkit-trace.md ########## @@ -18,6 +18,19 @@ _Sample codes only_ * Add `@Trace` to any method you want to trace. After that, you can see the span in the Stack. * Add custom tag in the context of traced method . + +* `ActiveSpan.error()` support user to make the span of traced method error +* `ActiveSpan.error(String errorMsg)` support user to log some error message +* `ActiveSpan.error(Throwable throwable)` support user to error a Throwable +* `ActiveSpan.debug(String debugMsg)` support user to log some debug message +* `ActiveSpan.info(String infoMsg)` support user to log some info message Review comment: doc has updated ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
