{"id":15659296,"url":"https://github.com/bmoscon/logger","last_synced_at":"2025-05-05T17:41:25.898Z","repository":{"id":15048518,"uuid":"17774575","full_name":"bmoscon/Logger","owner":"bmoscon","description":"Simple, lightweight Logger written in C++","archived":false,"fork":false,"pushed_at":"2017-01-08T22:03:57.000Z","size":12,"stargazers_count":23,"open_issues_count":2,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T22:41:33.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmoscon.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":"2014-03-15T12:09:06.000Z","updated_at":"2024-09-24T03:23:00.000Z","dependencies_parsed_at":"2022-09-24T01:24:04.818Z","dependency_job_id":null,"html_url":"https://github.com/bmoscon/Logger","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/bmoscon%2FLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmoscon","download_url":"https://codeload.github.com/bmoscon/Logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252544363,"owners_count":21765335,"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":[],"created_at":"2024-10-03T13:16:06.992Z","updated_at":"2025-05-05T17:41:25.875Z","avatar_url":"https://github.com/bmoscon.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"##Simple, Lightweight Logging\n\n[![License](https://img.shields.io/badge/license-XFree86-blue.svg)](LICENSE)\n\nUsage:\n\n\nSpecify a filename when constructing:\n\n```c++\nLogger example(\"FILENAME\");\n```\n\nLog lines will be written to this file. Use the \u003c\u003c operator to \ndirect messages to the log stream and indicate the log level. \nIf the log level is omitted, it defaults to verbose:\n\n```c++\nexample \u003c\u003c ERROR \u003c\u003c \"Out of Memory!\" \u003c\u003c std::endl;\n```\n\n\nThis line will look like this in the log file:\n\n```\nSat Mar 15 08:06:58 2014 -- [ERROR] -- Out of Memory!\n```\n\nIf you dont care for the formatting, change the code :)\n\n\nYou must end the line with an ```endl```. This tells the logger \nto write the line and prepend the timestamp to the line \nas well. \n\n\nYou can change the logging level like so:\n\n```c++\nexample.set_level(VERBOSE);\n```\n\nThe level defaults to ```VERBOSE``` is one is never set, and this can be changed via ```set_default_line_level```\n\n\nNote: This library requires C++11 compiler support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmoscon%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmoscon%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmoscon%2Flogger/lists"}