{"id":19177718,"url":"https://github.com/simia-tech/gol","last_synced_at":"2025-10-15T02:17:16.410Z","repository":{"id":15696013,"uuid":"18433802","full_name":"simia-tech/gol","owner":"simia-tech","description":"Go logging package that supports output to console, file and syslog","archived":false,"fork":false,"pushed_at":"2015-06-01T08:41:27.000Z","size":228,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-17T09:02:34.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Pirate-Team/RT-Thread-Quadcopter","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simia-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-04T09:18:14.000Z","updated_at":"2015-06-01T08:41:27.000Z","dependencies_parsed_at":"2022-09-06T17:40:32.999Z","dependency_job_id":null,"html_url":"https://github.com/simia-tech/gol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simia-tech/gol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simia-tech%2Fgol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simia-tech%2Fgol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simia-tech%2Fgol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simia-tech%2Fgol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simia-tech","download_url":"https://codeload.github.com/simia-tech/gol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simia-tech%2Fgol/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263370179,"owners_count":23456426,"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":[],"created_at":"2024-11-09T10:34:50.758Z","updated_at":"2025-10-15T02:17:11.390Z","avatar_url":"https://github.com/simia-tech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gol\n\ngol is an extended logger for go, that can log to a console, file and syslog backend via a single interface. It\nsupports multiple logging channels and the output can be filtered using a mask. On top of this, multiple of\nbackends can be used at the same time.\n\nSee [godoc](http://godoc.org/github.com/simia-tech/gol) for more details.\n\n## Usage\n\n\tpackage main\n\n\timport (\n\t\t\"fmt\"\n\n\t\t\"github.com/simia-tech/gol\"\n\t)\n\n\tfunc main() {\n\t\tgol.Initialize(\n\t\t\t\u0026gol.Configuration{Backend: \"console\", Mask: \"all\", Color: true},\n\t\t\t\u0026gol.Configuration{Backend: \"syslog\", Prefix: \"gol-test\"})\n\n\t\tgol.Info(\"number %d\", 1)\n\n\t\terror := fmt.Errorf(\"nasty!\")\n\t\tgol.Handle(error)\n\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimia-tech%2Fgol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimia-tech%2Fgol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimia-tech%2Fgol/lists"}