Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

tsed-logger

Skill by tsedio

Configures and uses logging in a Ts.ED v8 application with @tsed/logger v8. It covers request-scoped logs, appenders, layouts, JSON output in production and custom appenders for Ts.ED developers.

  • Score 82
  • 3.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install tsed-logger

Built from the published package, never by AI.

git clone --depth 1 https://github.com/tsedio/tsed /tmp/tsed && mkdir -p ~/.claude/skills && cp -r /tmp/tsed/plugins/tsed/skills/tsed-logger ~/.claude/skills/tsed-logger

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install tsed-logger in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for configuring and using logging in a Ts.ED v8 application with @tsed/logger v8. It covers injecting the global Logger, writing request-scoped logs with $ctx.logger, setting the logger configuration key, and enabling request logs with @tsed/platform-log-request. It also covers appenders, layouts, JSON output in production, connector packages and custom appenders or layouts.

The skill is organized as rules, examples and a checklist. It explains which appenders an HTTP application has by default, how to replace or add outputs, and how to await $log.shutdown() so buffered events are written. It also lists common warnings, such as unknown appender or layout names, and common problems, such as duplicated log lines. It is aimed at developers building or maintaining Ts.ED v8 services that use $log, inject(Logger) or any @tsed/logger-* package.

Written from the project's SKILL.md and checked against it.

What it can do

  • Logger injectionShows how to get the application Logger with inject(Logger), logger() or @Inject().
  • Request-scoped logsExplains logging through $ctx.logger or context().logger so each line carries request fields.
  • Logger configurationCovers the logger configuration key, including level, logRequest and ignoreUrlPatterns.
  • Request loggingExplains enabling start and end request logs with @tsed/platform-log-request.
  • Appender setupShows how to set, replace or remove appenders such as stdout and stderr with levels.
  • LayoutsExplains the colored, JSON and other layouts and the imports they need.
  • ConnectorsShows how to register connector appenders such as file, logstash, Seq and Slack.
  • Custom appenders and layoutsGives templates for writing a BaseAppender or BaseLayout with decorators.
  • Clean shutdownExplains calling await $log.shutdown() so buffered appenders flush before exit.

What you need

  • A Ts.ED v8 application
  • @tsed/logger v8 package

Try asking

  • Set up JSON logs on stdout and stderr for production in my Ts.ED app.
  • Enable request logging with @tsed/platform-log-request and ignore the /health route.
  • Add a file appender that logs only info, warn, error and fatal levels.

Good to know

  • Connector packages must be installed and imported before they are registered.
  • The logstash-udp and logstash-http packages should not both be loaded in one process.
  • Tests run with logging off by default unless the logger level is passed to PlatformTest.bootstrap().

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/tsed/skills/tsed-logger/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • agents/openai.yaml232 B
  • references/appenders-layouts.md9 KB
  • references/request-logging.md7 KB

Alternatives to tsed-logger

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

tsed-logger: common questions

Why does my appender print 'doesn't exists' and log to the console instead?

The appender type is unknown, usually because its package or layout module was not imported. The source says the appender then falls back to the console appender, and the warning should be treated as an error.

Why are my log lines duplicated?

Adding an appender under a new name adds an output rather than replacing one, so every line is written twice. The source advises reusing the stdout or stderr names, or deleting the default appender first.

Why are request logs missing after upgrading to v8?

In v8, request start and end logs only exist after importing @tsed/platform-log-request. Without that import, the logRequest setting does nothing.

How do I install tsed-logger?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is tsed-logger free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is tsed-logger safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to tsed-logger?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

tsed-logger Install

Add to stack

Loading.