---
title: "Comment by Ken Chen on \"初嚐 OpenTelemetry Go Log  Beta\" | Hashnode"
description: "otel 後來有增加對 caller 的支援，現在要加入只要用 logger = otelslog.NewLogger(name, otelslog.WithSource( true )) 看起來更方便了"
url: "https://hashnode.com/posts/opentelemetry-go-log-beta/673a10bad5eb624921cf120c/comment/68141ceaabe585b654efdaf1"
---

[Discussion](https://hashnode.com/posts/opentelemetry-go-log-beta/673a10bad5eb624921cf120c)

Comment [初嚐 OpenTelemetry Go Log Beta](https://hashnode.com/posts/opentelemetry-go-log-beta/673a10bad5eb624921cf120c)

[Ken Chen](https://hashnode.com/@kenwschen)

[May 2, 2025](https://hashnode.com/posts/opentelemetry-go-log-beta/673a10bad5eb624921cf120c/comment/68141ceaabe585b654efdaf1)

otel 後來有增加對 caller 的支援，現在要加入只要用

```
logger = otelslog.NewLogger(name, otelslog.WithSource(true))
```

看起來更方便了
