{"id":49864,"library":"sirupsen-logrus","title":"Logrus","description":"Package logrus is a structured logger for Go, completely API compatible with the standard library logger.","status":"active","version":"1.9.4","language":"go","source_language":null,"source_url":"https://github.com/sirupsen/logrus","tags":["logging","structured-logging","logrus"],"install":[{"cmd":"go get github.com/sirupsen/logrus","lang":"bash","label":"Install github.com/sirupsen/logrus"}],"dependencies":[],"imports":[{"symbol":"logrus","correct":"github.com/sirupsen/logrus"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/sirupsen/logrus\"\n)\n\nfunc main() {\n\tlogrus.WithFields(logrus.Fields{\n\t\t\"animal\": \"walrus\",\n\t}).Info(\"A walrus appears\")\n}","lang":"go","description":"Log a structured info message with fields."},"warnings":[{"fix":"Consider migrating to zerolog or zap for better performance and active development.","message":"Logrus is in maintenance mode; the author recommends using a more modern logger like zerolog or zap.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'api':11 'compat':12 'complet':10 'go':9 'librari':16 'log':18,21 'logger':7,17 'logrus':1,3,22 'packag':2 'standard':15 'structur':6,20 'structured-log':19","created_at":"2026-06-14T18:18:31.464059+00:00","updated_at":"2026-06-14T18:18:31.464059+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/sirupsen/logrus","github":"https://github.com/sirupsen/logrus","docs":"https://pkg.go.dev/github.com/sirupsen/logrus#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-14","next_check":"2026-12-11","install_tag":null}}