{"id":76205,"library":"orandin-lumberjackrus","title":"Lumberjackrus","description":"A logrus hook for writing logs to rolling files using lumberjack.","status":"active","version":"1.0.1","language":"go","source_language":null,"source_url":"https://github.com/orandin/lumberjackrus","tags":["logging","logrus","lumberjack","file-rotation"],"install":[{"cmd":"go get github.com/orandin/lumberjackrus","lang":"bash","label":"Install github.com/orandin/lumberjackrus"}],"dependencies":[],"imports":[{"symbol":"lumberjackrus","correct":"github.com/orandin/lumberjackrus"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/orandin/lumberjackrus\"\n\t\"github.com/sirupsen/logrus\"\n)\n\nfunc main() {\n\thook, _ := lumberjackrus.NewHook(\n\t\t&lumberjackrus.LogFile{Path: \"/var/log/app.log\"},\n\t\tlogrus.InfoLevel,\n\t)\n\tlogrus.AddHook(hook)\n\tlogrus.Info(\"Hello, Lumberjackrus!\")\n}","lang":"go","description":"Sets up a logrus hook for rolling file logging."},"warnings":[],"env_vars":null,"search_vec":"'file':10,17 'file-rot':16 'hook':4 'log':7,13 'logrus':3,14 'lumberjack':12,15 'lumberjackrus':1 'roll':9 'rotat':18 'use':11 'write':6","created_at":"2026-06-17T19:25:49.091559+00:00","updated_at":"2026-06-17T19:25:49.091559+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/orandin/lumberjackrus","github":"https://github.com/orandin/lumberjackrus","docs":"https://pkg.go.dev/github.com/orandin/lumberjackrus#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-17","next_check":"2026-12-14","install_tag":null}}