{"id":16570991,"url":"https://github.com/opalmer/logrusutil","last_synced_at":"2026-05-28T13:01:06.839Z","repository":{"id":57494666,"uuid":"103036770","full_name":"opalmer/logrusutil","owner":"opalmer","description":"Provides basic wrappers and utility functions for logrus.","archived":false,"fork":false,"pushed_at":"2018-03-20T00:13:39.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T02:52:19.373Z","etag":null,"topics":["go","golang","logging","logrus","logrus-hook"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opalmer.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":"2017-09-10T14:41:55.000Z","updated_at":"2018-03-20T00:12:13.000Z","dependencies_parsed_at":"2022-08-28T15:11:01.627Z","dependency_job_id":null,"html_url":"https://github.com/opalmer/logrusutil","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/opalmer/logrusutil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opalmer%2Flogrusutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opalmer%2Flogrusutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opalmer%2Flogrusutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opalmer%2Flogrusutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opalmer","download_url":"https://codeload.github.com/opalmer/logrusutil/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opalmer%2Flogrusutil/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33609237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["go","golang","logging","logrus","logrus-hook"],"created_at":"2024-10-11T21:20:47.744Z","updated_at":"2026-05-28T13:01:06.806Z","avatar_url":"https://github.com/opalmer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logrus Wrapper\n\n[![Build Status](https://travis-ci.org/opalmer/logrusutil.svg?branch=master)](https://travis-ci.org/opalmer/logrusutil)\n[![codecov](https://codecov.io/gh/opalmer/logrusutil/branch/master/graph/badge.svg)](https://codecov.io/gh/opalmer/logrusutil)\n[![Go Report Card](https://goreportcard.com/badge/github.com/opalmer/logrusutil)](https://goreportcard.com/report/github.com/opalmer/logrusutil)\n[![GoDoc](https://godoc.org/github.com/opalmer/logrusutil?status.svg)](https://godoc.org/github.com/opalmer/logrusutil)\n\nThis project provides very basic wrappers for [logrus](https://github.com/sirupsen/logrus)\nincluding:\n\n* Log level parsing and handling.\n* Hooks for adding additional information to log messages.\n\nContributions are welcome but before opening a PR consider if your request would\nbe better served as a contribution directly to the logrus project. This project\nwas initially created so a few different projects could share the same code.\n\n```go\npackage main\n\nimport (\n\t\"github.com/opalmer/logrusutil\"\n\t\"github.com/Sirupsen/logrus\"\n)\n\nfunc main() {\n\t// Setup the root logger and hooks.\n\tif err := logrusutil.ConfigureLogger(logrus.StandardLogger(), logrusutil.NewConfig()); err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n\n## Case Sensitivity\n\nThe logrus project was renamed at one point from:\n\n    github.com/Sirupsen/logrus\n\nTo:\n\n    github.com/sirupsen/logrus\n\nThis causes conflicts to occur in certain cases if one or more of your\ndependencies are using the old import path. This project uses `sirupsen` which\nreflects what the majority of projects are using today.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopalmer%2Flogrusutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopalmer%2Flogrusutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopalmer%2Flogrusutil/lists"}