{"id":18758327,"url":"https://github.com/abhi347/lumberjack","last_synced_at":"2025-07-17T07:03:59.115Z","repository":{"id":43624697,"uuid":"71665721","full_name":"Abhi347/LumberJack","owner":"Abhi347","description":"LumberJack is a simple Android logging library","archived":false,"fork":false,"pushed_at":"2020-09-25T11:42:08.000Z","size":130,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T02:27:55.504Z","etag":null,"topics":["android","java","jitpack","library","logcat","logger","logging","logging-library","lumberjack"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Abhi347.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":"2016-10-22T21:07:55.000Z","updated_at":"2023-05-22T07:16:35.000Z","dependencies_parsed_at":"2022-07-12T18:19:20.413Z","dependency_job_id":null,"html_url":"https://github.com/Abhi347/LumberJack","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Abhi347/LumberJack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhi347%2FLumberJack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhi347%2FLumberJack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhi347%2FLumberJack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhi347%2FLumberJack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abhi347","download_url":"https://codeload.github.com/Abhi347/LumberJack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhi347%2FLumberJack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265575452,"owners_count":23790773,"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":["android","java","jitpack","library","logcat","logger","logging","logging-library","lumberjack"],"created_at":"2024-11-07T17:46:08.984Z","updated_at":"2025-07-17T07:03:59.100Z","avatar_url":"https://github.com/Abhi347.png","language":"Java","funding_links":["https://paypal.me/Abhi347/5"],"categories":[],"sub_categories":[],"readme":"[![AUR](https://img.shields.io/aur/license/yaourt.svg?maxAge=2592000)](https://raw.githubusercontent.com/Abhi347/LumberJack/master/LICENSE) \n[![](https://jitpack.io/v/Abhi347/LumberJack.svg)](https://jitpack.io/#Abhi347/LumberJack)\n[![Build Status](https://travis-ci.org/Abhi347/LumberJack.svg?branch=master)](https://travis-ci.org/Abhi347/LumberJack)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2912b6db60a64009bf780afd2780e52e)](https://www.codacy.com/app/josh-abhi143/LumberJack?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=Abhi347/LumberJack\u0026amp;utm_campaign=Badge_Grade)\n\n# LumberJack - Simple Android Logger\nLumberJack is a simple logging library for Android which allows you to send log to Logcat, File System or your server (Coming soon). \nIt's easy to start and ever easier to customise.\n\n## Features\n * Logging to Logcat or File system or both\n * Easy customisation\n * Log only when a specified filter is satisfied\n * Can programmatically disable the log\n\n## Planned feature\n * More Customization support\n * Sending Log data to a custom server\n * Emailing Log file\n\n## Setup\nLumberJack is hosted at jitpack.io. The instructions are as follows -   \nStep 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:\n\n    allprojects {\n\t\t    repositories {\n    \t\t\t...\n\t\t    \tmaven { url \"https://jitpack.io\" }\n    \t\t}\n    }\n\nStep 2. Add the dependency\n\n    dependencies {\n\t        compile 'com.github.Abhi347:LumberJack:0.1.0'\n\t  }\n\n## Usage\nJust use it as you are using Log class. For eg. instead of calling `Log.d()`, call `LumberJack.d()`\n    \n    LumberJack.v(tag, message);\n    LumberJack.d(tag, message);\n    LumberJack.i(tag, message);\n    LumberJack.w(tag, message);\n    LumberJack.e(tag, message);\n    \nStarting from 0.1.0 instead of `LumberJack`, you can also use `LJ` class as an alias. This can be done with all the LumberJack methods.\n\n    LJ.v(tag, message);\n    LJ.d(tag, message);\n    LJ.i(tag, message);\n    LJ.w(tag, message);\n    LJ.e(tag, message);\n\nYou can choose to skip the tag. When you do that a default tag is chosen. The current default tag is `LumberJack`.\n\n    LumberJack.v(message); //or LJ.v(message)\n    LumberJack.d(message); //or LJ.d(message)\n    LumberJack.i(message); //or LJ.i(message)\n    LumberJack.w(message); //or LJ.w(message)\n    LumberJack.e(message); //or LJ.e(message)\n\nYou can set Log Filtering by choosing the required Log Level -\n\n    LumberJack.setLogLevel(LogLevel.Info);\n\nOr you can choose to disable all logging\n\n    LumberJack.setLogLevel(LogLevel.None);\n\n## Advanced Usage\nThe default logging is done to Logcat, you can choose to Log in a file. Please note that Logging to server is not implemented yet.\nFirst you'll have to add the required permissions in your app's `AndroidManifest.xml`\n\n    \u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/\u003e\n    \u003cuses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/\u003e\n\nFrom Android 6.0 (API level 23), you'll also need to get [Runtime Permissions](https://developer.android.com/training/permissions/requesting.html) for `WRITE_EXTERNAL_STORAGE` permission.\n\nThe next step is to change the log type in `onCreate()` method of your `MainActivity.java` (Or anywhere you want to change the Log Type)\n\n    LumberJack.setLogType(LogType.File);\n\nOr if you want to have multiple LogType, you can pass an array.\n\n    LumberJack.setLogTypes(new LogType[]{LogType.Logcat, LogType.File});\n\nAlthough a default file path will be chosen in your External Storage, Public Document Directory or your SD card, depending upon which version of Android you're running; it's entirely possible to change the path or just the name of the logging file. (Provided that you have permissions to write at that path).\n\n    LumberJack.setLogFilePath(fullFilePathIncludingFileNameAndExtension);\n\nYou can change the default Tag to be chosen (when a tag is not supplied with logging method)\n\n    LumberJack.setDefaultTag(\"Default Tag\");\n    \nFor more usage, please check the example module (app module) in the source.\n\n## Contributions\nFeel free to report bugs, feedback or even suggest new features. I'd love to make it a great library.\n\n## Donate\n[Paypal](https://paypal.me/Abhi347/5)\n\n## Warning\nLumberJack is not a production ready library (We haven't reached 1.0.0 yet) and thus you should not use it in a production ready code. Please read the license term carefully before including it in your projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhi347%2Flumberjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhi347%2Flumberjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhi347%2Flumberjack/lists"}