{"id":17724676,"url":"https://github.com/igrmk/dull","last_synced_at":"2025-03-31T14:16:04.188Z","repository":{"id":57720188,"uuid":"253867945","full_name":"igrmk/dull","owner":"igrmk","description":"Dull \u0026 undeveloped logging library","archived":false,"fork":false,"pushed_at":"2020-04-27T17:47:39.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-30T09:14:04.784Z","etag":null,"topics":["kotlin","kotlin-library","logging","logging-library"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/igrmk.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":"2020-04-07T17:38:55.000Z","updated_at":"2020-04-27T17:47:42.000Z","dependencies_parsed_at":"2022-09-26T21:41:18.336Z","dependency_job_id":null,"html_url":"https://github.com/igrmk/dull","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fdull","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fdull/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fdull/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrmk%2Fdull/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrmk","download_url":"https://codeload.github.com/igrmk/dull/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246481005,"owners_count":20784458,"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":["kotlin","kotlin-library","logging","logging-library"],"created_at":"2024-10-25T15:48:30.081Z","updated_at":"2025-03-31T14:16:04.157Z","avatar_url":"https://github.com/igrmk.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dull \u0026 undeveloped logging library\n==================================\nThis is the dumbest file logger ever written in Kotlin (34 LoC).\nWhenever the file exceeds `halvingSize` parameter oldest half of logs is removed.\nIt is not recommended to use this logger for huge files.\nIt reads logs as text every time it halves them.\nOn my notebook halving of 1MB log file takes 5ms in average (quadratic mean). Worst case is 70ms.\n\nInstallation\n------------\nJust copy dull.kt or use Gradle\n\n```gradle\ndependencies {\n    implementation 'com.github.igrmk:dull:1.0'\n}\n```\n\nUsage\n-----\n\n```kotlin\nval log = com.github.igrmk.dull.FileLogger(file, 100000)\nlog.append(\"Hello world!\")\nprintln(\"Complete logs: ${log.get()}\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrmk%2Fdull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrmk%2Fdull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrmk%2Fdull/lists"}