Uma TUI de terminal para navegar, conectar-se e gerenciar hosts SSH definidos no arquivo ~/.ssh/config.
TheEdgeOfRage/logfmt
A small Go command-line tool that colorizes, filters, and reformats logfmt logs piped from stdin in your terminal.
- Estrelas
- 57
- Forks
- 9
- Issues abertas
- 2
- Último commit
- há 5 dias
O que é?
logfmt CLI reads logfmt-formatted log lines from standard input and writes a more readable version to standard output. It applies syntax highlighting, moves the timestamp and level into fixed positions without their keys, and lets you choose which fields to show or hide.
Filtering is available by log level, which prints only entries at or above a chosen level such as WARN, and by exact key=value matches, so you can focus on a single API call or request. A raw mode prints only field values, similar to the Unix cut command, and an option keeps lines that have none of the selected fields.
The tool follows the Unix pipeline model, so it is typically used with commands like kubectl logs or a locally running Go service. Colors are disabled automatically when output is a pipe or file, and can be forced or turned off with flags.
Recursos principais
- 01Colorized output for logfmt lines, with timestamp and level in fixed positions
- 02Filter by minimum log level such as WARN or ERROR
- 03Filter by exact key=value pairs
- 04Select or exclude output fields with comma-separated lists
- 05Raw mode that prints only field values
Casos de uso
- Reading local development logs from a Go service piped into the terminal
- Inspecting Kubernetes pod logs with kubectl logs and narrowing to a specific request
- Filtering noisy debug output down to warnings and errors
Tópicos
Perguntas frequentes
- O que é logfmt?
- A small Go command-line tool that colorizes, filters, and reformats logfmt logs piped from stdin in your terminal. logfmt CLI reads logfmt-formatted log lines from standard input and writes a more readable version to standard output. It applies syntax highlighting, moves the timestamp and level into fixed positions without their keys, and lets you choose which fields to show or hide.
- logfmt é gratuito? Qual é a licença?
- logfmt é open source sob a licença MIT. Confira os termos da licença antes de usá-lo em produtos comerciais.
- logfmt ainda é mantido?
- Manutenção ativa. O último commit de logfmt foi em 14 de out. de 2026.
- Para que posso usar logfmt?
- Reading local development logs from a Go service piped into the terminal Inspecting Kubernetes pod logs with kubectl logs and narrowing to a specific request Filtering noisy debug output down to warnings and errors
- Onde consigo logfmt?
- O código-fonte e as instruções de instalação estão no GitHub: https://github.com/TheEdgeOfRage/logfmt
Resumo gerado por IA a partir do README do projeto. As estatísticas do GitHub são atualizadas diariamente.
Projetos relacionados
A Go CLI for tmux that saves sessions, windows, panes and commands, then restores them lazily from a TUI picker.
Gerenciador de downloads para terminal, controlado pelo teclado e feito em Go, que divide arquivos em partes paralelas e pode baixar de vários mirrors.
Protetor de tela para terminal escrito em Go, que é ativado quando o shell fica ocioso e exibe cenas animadas, como constelações, chuva e partículas.
Uma ferramenta de terminal que reproduz commits do Git como sessões de digitação animadas, com realce de sintaxe e transições na árvore de arquivos.
Acesse terminais pelo navegador para executar, monitorar e controlar sessões de shell e agentes de programação com IA em qualquer dispositivo.