{"id":20340745,"url":"https://github.com/lukeonuke/simplelogger","last_synced_at":"2026-06-08T15:31:17.783Z","repository":{"id":106893053,"uuid":"276506794","full_name":"LukeOnuke/SimpleLogger","owner":"LukeOnuke","description":"A library for simple logging of events","archived":false,"fork":false,"pushed_at":"2020-07-02T21:35:30.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T14:49:24.824Z","etag":null,"topics":["java","logger","logging"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeOnuke.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-01T23:57:41.000Z","updated_at":"2020-07-02T21:34:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0a6e656-2859-4ca6-8460-235badedb82e","html_url":"https://github.com/LukeOnuke/SimpleLogger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/LukeOnuke/SimpleLogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2FSimpleLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2FSimpleLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2FSimpleLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2FSimpleLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeOnuke","download_url":"https://codeload.github.com/LukeOnuke/SimpleLogger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2FSimpleLogger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["java","logger","logging"],"created_at":"2024-11-14T21:23:21.090Z","updated_at":"2026-06-08T15:31:17.765Z","avatar_url":"https://github.com/LukeOnuke.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleLogger\nSimple logger is a java 8 library for logging events and messages to a file designed to be simple and intuitive to use.\n\nDownload : [here](https://github.com/LukeOnuke/SimpleLogger/releases)\n\n### Example code\n\n        Log log = Log.getInstance();\n        log.log(\"Its this simple\");\n        log.log(\"Even\\nsupports\\nmultiline\");\n        log.log(\"Severe error, on the fly\", LogSeverity.SEVERE);\n        try {\n            log.write(\"Very nice comment indeed\");\n            \n        } catch (IOException ex) {\n        }\n\n## Documentation\nAll the documentation you will need for methods and classes has been written to the javadoc contained in the library for maximum ease of use. So if you need a read up on something just type it in and the documentation will show up.\n\nTree of all the classes and methods in the library\n\n    Package - logger:\n\t    |Class: Log\n\t    |\t|Method : getInstance()\n\t    |\t|Method : setSeverity(LogSeverity logSeverity)\n\t    |\t|Method : log(String message)\n\t    |\t|Method : log(String message, LogSeverity logSeverity)\n\t    |\t|Method : write(String comment)\n\t    |\t|Method : getFile()\n\t    |\n\t    |Enum: LogSeverity\n\t    |\n\t    |Package - logger.io\n\t    |\t|Class : BinaryIo\n\t    |\t|\t|Method : read(String filePath)\n\t    |\t|\t|Method : write(String filePath, byte[] data)\n\t    |\t|\t|Method : hash(byte[] bytes)\n\t    |Package - logger.reader\n\t    |\t|Class : Reader\n\t    |\t|\t|Method : readMessages(String filePath)\n\t    |\t|\t|Method : notTamperedCheck(String filePath)\n\t    |\t|\t|Method : getInfo(String filePath)\n\t    |\t|\t|Method : getComments(String filePath)\n\nThe library stores the log files in a format called  **Extensible Markup LOG** (**.xmlog**) that is very simalar to XML.\nThe format was designed with text editor compatability and efficiency in mind.\nThe file format can be opened and read with a ordinary text editor.\n\n---\nHere is a example file: **02-07-2020--02-26-11-log.xmlog**\n```\n\u003cComments\u003e\n\tLog file 02:26:11  02-07-2020\n\tThis is a test\n\u003c/Comments\u003e\n\u003cData\u003e\n\tElapsed time running : 129427ms 0.0seconds\n\tTime and date : 02:26:11  02-07-2020\n\tOperating system : Windows 10\n\tOperating system architecture : amd64\n\tUser username : luka\n\tJava version : 1.8.0_251\n\u003c/Data\u003e\n\u003cMessages\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Yea boi\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Indeed quite a coincidence yes mmmmmm\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Server error \n\t\t at line:13 \n\t\t consult manual\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c severe \u003e : Severe error\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Ha yes mmmm\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Ineed\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Ineed\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Ineed\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Ineed\n\t\u003c/Message\u003e\n\t\u003cMessage\u003e\n\t \t[ 02-07-2020 | 02:26:11 ] \u003c none \u003e : Ineed\n\t\u003c/Message\u003e\n\u003c/Messages\u003e\n\u003cChecksum\u003eßÁ‰#6ù2n\bÉÄœRp„I˜/¹ÅÄä\u000bv±ô®¾¨–\n \u003c/Checksum\u003e\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeonuke%2Fsimplelogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukeonuke%2Fsimplelogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeonuke%2Fsimplelogger/lists"}