EDU-1873: [Typo] Observability Testing with DefaultLogger unclear #2640
Labels
community
This issue was submitted external to Temporal
tracking-internally
A JIRA ticket has been generated and the EDU number is attached to the title of this issue or PR
Brief description
There is a typo on the Observability Typescript Guide ➡️
The code doesn't make sense as it is written. I think the intent was that the
log
object referenced should belogger
. If it's not a typo, it isn't clear to me what the 'log' object is and it's relationship tologs
andlogger
.The context of this was for a section "Accumulate logs for testing and reporting" but, the code above doesn't show how it can be used in a test.
A testing question I think would be useful answered in the documentation is:
<LogEntry>
objects inlogs
to assert/expect an outcome?LEVEL
in a<LogEntry>
object?<LogEntry>
object?Your recommended content
I'd be more than happy to fix the typo above and look up so that a more useful code snippet for testing Observability can be made.
The text was updated successfully, but these errors were encountered: