{"id":32307840,"url":"https://github.com/aiurovet/thin_logger","last_synced_at":"2026-02-23T11:35:41.555Z","repository":{"id":61974956,"uuid":"474975037","full_name":"aiurovet/thin_logger","owner":"aiurovet","description":"A minimal logger class, suitable mostly for console utilities rather than enterprise-grade applications.","archived":false,"fork":false,"pushed_at":"2024-03-04T12:04:21.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T07:31:52.491Z","etag":null,"topics":["dart","logger","minimal","thin"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/aiurovet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-03-28T11:38:57.000Z","updated_at":"2024-05-21T03:28:42.000Z","dependencies_parsed_at":"2022-10-24T13:45:32.255Z","dependency_job_id":null,"html_url":"https://github.com/aiurovet/thin_logger","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/aiurovet/thin_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiurovet%2Fthin_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiurovet%2Fthin_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiurovet%2Fthin_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiurovet%2Fthin_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiurovet","download_url":"https://codeload.github.com/aiurovet/thin_logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiurovet%2Fthin_logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29741637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dart","logger","minimal","thin"],"created_at":"2025-10-23T07:24:18.012Z","updated_at":"2026-02-23T11:35:41.545Z","avatar_url":"https://github.com/aiurovet.png","language":"Dart","readme":"A minimal logger class, suitable mostly for console utilities rather than enterprise-grade applications.\n\n## Features\n\nComprises a single class that, by default, allows just three levels of the output: quiet (none), normal (data, errors and info) and verbose (maximum).\n\n## Usage\n\nThe usage is pretty straightforward. Please see the sample code below or in the `example` folder of the GitHub repository.\n\n```dart\nimport 'package:thin_logger/thin_logger.dart';\n\n/// Return the logger level based on CLI option\n///\nint parseLevel(String optLevel) {\n  switch (optLevel) {\n    case '-q':\n      return Logger.levelQuiet;\n    case '-v':\n      return Logger.levelVerbose;\n    default:\n      return Logger.levelDefault;\n  }\n}\n\n/// The application entry point\n///\nvoid main(List\u003cString\u003e args) {\n  // Initializing the logger object\n  //\n  var level = parseLevel(args.isEmpty ? '' : args[0]);\n  var logger = Logger(level);\n\n  // Printing various-level data\n  //\n  logger.out('Plain data');\n  logger.error('ERR');\n  logger.info('INF');\n\n  // This is the most expensive call, as every string will be interpolated\n  // (substituted with the values like 'abc $d ef ${g.h}') unconditionally,\n  // and the respective Logger method will be called\n  //\n  if (logger.isVerbose) {\n    logger.verbose('VRB');\n  }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiurovet%2Fthin_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiurovet%2Fthin_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiurovet%2Fthin_logger/lists"}