# Show GN: LogTape: 의존성 없는 Node.js/Deno/Bun/브라우저용 로깅 라이브러리

> Clean Markdown view of GeekNews topic #14483. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=14483](https://news.hada.io/topic?id=14483)
- GeekNews Markdown: [https://news.hada.io/topic/14483.md](https://news.hada.io/topic/14483.md)
- Type: show
- Author: [hongminhee](https://news.hada.io/@hongminhee)
- Published: 2024-04-24T11:43:33+09:00
- Updated: 2024-04-24T11:43:33+09:00
- Original source: [github.com/dahlia](https://github.com/dahlia/logtape)
- Points: 22
- Comments: 2

## Topic Body

JavaScript용 로깅 라이브러리를 찾아다니다 제가 원하는 요구사항을 모두 충족하는 걸 찾을 수 없어서 결국 직접 하나 만들게 되었습니다. LogTape의 특징은 다음과 같습니다.  
  
- 의존성 없음  
- 애플리케이션 뿐만 아니라 라이브러리에서도 쓸 수 있게 설계: 라이브러리에서 출력 설정 없이 로그를 남기기만 하고, 출력 설정은 해당 라이브러리를 쓰는 애플리케이션 측에서 할 수 있음  
- 사실상 모든 런타임에서 사용 가능: Node.js, Deno, Bun, 브라우저, Cloudflare Workers 등의 에지 함수들  
- 구조화된 로그: 로그 메시지가 단순히 문자열이 아니라, 구조화된 정보이고 이를 JSON 등으로 출력할 수 있음  
- 로거 카테고리(이름)이 계층적임: 상위 계층에 출력 설정을 하면 하위 계층의 로거에도 자동 적용  
- 아주 단순한 출력(sink/destination) 인터페이스

## Comments



### Comment 24824

- Author: channprj
- Created: 2024-05-01T00:50:35+09:00
- Points: 1

멋지네요!
