{"id":20619370,"url":"https://github.com/containerscrew/devstdout","last_synced_at":"2026-05-29T12:02:29.880Z","repository":{"id":173699713,"uuid":"649072568","full_name":"containerscrew/devstdout","owner":"containerscrew","description":"Simple slog wrapper pkg","archived":false,"fork":false,"pushed_at":"2025-01-30T17:14:52.000Z","size":690,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T18:19:19.773Z","etag":null,"topics":["golang","golang-package","logger","logging","logging-library","slog"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/containerscrew.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-03T17:26:08.000Z","updated_at":"2025-01-30T17:14:55.000Z","dependencies_parsed_at":"2024-11-16T12:11:42.292Z","dependency_job_id":"a956c1dd-ed4f-4c89-864e-c90ca68b8035","html_url":"https://github.com/containerscrew/devstdout","commit_stats":null,"previous_names":["containerscrew/devstdout"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerscrew%2Fdevstdout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerscrew%2Fdevstdout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerscrew%2Fdevstdout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerscrew%2Fdevstdout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/containerscrew","download_url":"https://codeload.github.com/containerscrew/devstdout/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277652,"owners_count":20101536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","golang-package","logger","logging","logging-library","slog"],"created_at":"2024-11-16T12:11:29.590Z","updated_at":"2026-05-29T12:02:29.862Z","avatar_url":"https://github.com/containerscrew.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" \u003e\n    \u003cimg src=\"img/logo.png\" alt=\"logo\" width=\"250\"/\u003e\n\u003ch3 align=\"center\"\u003edevstdout\u003c/h3\u003e\n\u003cp align=\"center\"\u003eSimple slog wrapper pkg\u003c/p\u003e\n\u003cp align=\"center\"\u003eBuilt with ❤ in Golang\u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" \u003e\n    \u003cimg alt=\"Go report card\" src=\"https://goreportcard.com/badge/github.com/containerscrew/devstdout\"\u003e\n    \u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/containerscrew/devstdout\"\u003e\n    \u003cimg alt=\"GitHub go.mod Go version\" src=\"https://img.shields.io/github/go-mod/go-version/containerscrew/devstdout\"\u003e\n    \u003cimg alt=\"LICENSE\" src=\"https://img.shields.io/github/license/containerscrew/devstdout\"\u003e\n    \u003cimg alt=\"LICENSE\" src=\"https://github.com/containerscrew/devstdout/actions/workflows/test.yml/badge.svg\"\u003e\n\u003c/p\u003e\n\n\u003c!-- START OF TOC !DO NOT EDIT THIS CONTENT MANUALLY--\u003e\n**Table of Contents**  *generated with [mtoc](https://github.com/containerscrew/mtoc)*\n- [devstdout](#devstdout)\n- [Examples](#examples)\n  - [Full code examples](#full-code-examples)\n  - [Pretty output](#pretty-output)\n  - [Json output](#json-output)\n- [TO DO](#to-do)\n- [License](#license)\n\u003c!-- END OF TOC --\u003e\n\n# devstdout\n\nSimple slog wrapper pkg for my Golang projects.\n\n# Examples\n\n```go\npackage main\n\nimport (\n\tdevstdout \"github.com/containerscrew/devstdout/pkg\"\n)\n\nfunc main() {\n\tlog := devstdout.NewLogger(\n\t\tdevstdout.OptionsLogger{Level: \"debug\", AddSource: false, LoggerType: \"pretty\"},\n\t)\n\n\tlog.Debug(\n\t\t\"testing message\",\n\t\tdevstdout.Argument(\"hello\", \"world\"),\n\t)\n\n\tlog.Info(\n\t\t\"testing message\",\n\t\tdevstdout.Argument(\"bob\", \"marley\"),\n\t)\n\n\tlog.Warning(\"warning message!\")\n\n\tlog.Success(\n\t\t\"Success Message\",\n\t\tdevstdout.Argument(\"alice\", \"bob\"),\n\t)\n\n\tlog.Error(\"error in your app!\", devstdout.Argument(\"error\", \"your_error_is_here\"))\n\n\tlog.ErrorWithExit(\"fatal error, app must stop!\", devstdout.Argument(\"error\", \"your_error_is_here\"))\n}\n```\n\n## Full code examples\n\n* [**json**](./examples/json/json.go)\n* [**pretty**](./examples/pretty/pretty.go)\n* [**console**](./examples/console/console.go)\n\n## Pretty output\n![example](./img/example.png)\n\n## Json output\n![example2](./img/example2.png)\n\n# TO DO\n\n* Add tests\n* Code refactor is certainly needed!\n* AddSource option in logger is too much verbose\n\n# License\n\n[LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainerscrew%2Fdevstdout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainerscrew%2Fdevstdout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainerscrew%2Fdevstdout/lists"}