{"id":25398136,"url":"https://github.com/axnjr/unilog_rs","last_synced_at":"2026-02-11T18:32:07.346Z","repository":{"id":276462383,"uuid":"929361570","full_name":"Axnjr/unilog_rs","owner":"Axnjr","description":"A lightweight Rust logging library supporting async/sync logging, log file handling, log levels and colored logs.","archived":false,"fork":false,"pushed_at":"2025-02-17T12:36:09.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T16:43:54.850Z","etag":null,"topics":["cargo","crates-io","lib","library","lightweight","logging","rust","tool"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Axnjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-08T11:20:05.000Z","updated_at":"2025-02-17T12:36:12.000Z","dependencies_parsed_at":"2025-04-11T06:47:15.559Z","dependency_job_id":"453f01e5-069c-49c8-9c4d-b360a0f436c9","html_url":"https://github.com/Axnjr/unilog_rs","commit_stats":null,"previous_names":["axnjr/unilog_rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Axnjr/unilog_rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2Funilog_rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2Funilog_rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2Funilog_rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2Funilog_rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Axnjr","download_url":"https://codeload.github.com/Axnjr/unilog_rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2Funilog_rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29341225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T18:24:36.877Z","status":"ssl_error","status_checked_at":"2026-02-11T18:23:50.867Z","response_time":97,"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":["cargo","crates-io","lib","library","lightweight","logging","rust","tool"],"created_at":"2025-02-15T22:34:43.462Z","updated_at":"2026-02-11T18:32:07.342Z","avatar_url":"https://github.com/Axnjr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `🦀unilog.rs`\n\n[![Crates.io](https://img.shields.io/crates/v/unilog)](https://crates.io/crates/unilog)\n[![Documentation](https://docs.rs/unilog/badge.svg)](https://docs.rs/unilog)\n\n## Example\n```rust\nuse unilog::{Level, UniLog, Fatal, Error, Warn, Notice, Info, Debug, Trace};\n\nfn main() {\n    let instance = UniLog::init()\n        .set_log_file_name(\"server.log\") // dont forget the file extension\n        .log_to_terminal(true)\n        .async_logging()\n        .enable_timestamping()\n        .enable_colored_logs()\n        .max_log_file_size(20) // 20 Mb, would truncate the log file if its size exceeds this limit!\n    ;\n\n    Fatal! (instance, \"TRIAL of fatal error via macros !!\");\n    Notice!(instance, \"TRIAL of notices lets see what happens !!\");\n    Warn!  (instance, \"TRIAL of warnings lets see what happens !!\");\n    Info!  (instance, \"TRIAL of information lets see what happens !!\");\n    Debug! (instance, \"TRIAL of debugging lets see what happens !!\");\n    Error! (instance, \"TRIAL of error lets see what happens !!\");\n    Trace! (instance, \"TRIAL of tracing lets see what happens !!\");\n}\n```\n\n# Sample logs\n```py\n[Feb 08 16:38:33] | [NOTICE]   : TRIAL of notoices lets see what happens !! \n[Feb 08 16:38:33] | [WARNN ]   : TRIAL of warnings lets see whta happens !! \n[Feb 08 16:38:33] | [ERROR ]   : TRIAL of error lets see what hap !! \n[Feb 08 16:38:33] | [TRACE ]   : TRIAL of tracing lets see what hap !! \n[Feb 08 16:44:05] | [FATAL ]   : Trial for Fatal error via macros !! \n[Feb 08 16:46:04] | [FATAL ]   : Trial for Fatal error via macros !! \n[Feb 08 16:46:04] | [NOTICE]   : TRIAL of notices lets see what happens !! \n[Feb 08 16:46:04] | [WARNN ]   : TRIAL of warnings lets see what happens !! \n[Feb 08 16:46:04] | [INFO  ]   : TRIAL of information lets see what happens !! \n[Feb 08 16:46:04] | [DEBUG ]   : TRIAL of debugging lets see what happens !! \n[Feb 08 16:46:04] | [ERROR ]   : TRIAL of error lets see what happens !! \n[Feb 08 16:46:04] | [TRACE ]   : TRIAL of tracing lets see what happens !! \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxnjr%2Funilog_rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxnjr%2Funilog_rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxnjr%2Funilog_rs/lists"}