{"id":43846572,"url":"https://github.com/slytomcat/llog","last_synced_at":"2026-02-06T06:04:58.336Z","repository":{"id":57499351,"uuid":"116830512","full_name":"slytomcat/llog","owner":"slytomcat","description":"Leveled logging for GO","archived":false,"fork":false,"pushed_at":"2024-01-27T23:38:06.000Z","size":1162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T05:55:43.353Z","etag":null,"topics":["go","golang","llog","logging"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slytomcat.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":"2018-01-09T15:01:32.000Z","updated_at":"2024-04-09T16:32:27.000Z","dependencies_parsed_at":"2022-08-28T15:21:25.850Z","dependency_job_id":null,"html_url":"https://github.com/slytomcat/llog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slytomcat/llog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slytomcat%2Fllog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slytomcat%2Fllog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slytomcat%2Fllog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slytomcat%2Fllog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slytomcat","download_url":"https://codeload.github.com/slytomcat/llog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slytomcat%2Fllog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["go","golang","llog","logging"],"created_at":"2026-02-06T06:04:57.721Z","updated_at":"2026-02-06T06:04:58.326Z","avatar_url":"https://github.com/slytomcat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# llog\n[![GithubGo](https://github.com/slytomcat/llog/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/slytomcat/llog/actions/workflows/go.yml)\n\nPackage llog implements level-restricted logging.\nIt is similar and based to standard log package but provides additional flexibility\nin management of logging messages.\n\nPackage provides 5 levels of logging:\n\n    DEBUG\t\t\t- output all messages (lowest level)\n    INFO\t\t\t- output all messages except debug messages\n    WARNING\t\t\t- output all messages except debug and info messages - it is default level\n    ERROR\t\t\t- output only error and critical messages\n    CRITICAL\t\t- output only critical messages (highest level)\n\nThere is a standard logger that initialized with os.Stderr as output, \"\" as prefix,\nlog.LstdFlags (see https://golang.org/pkg/log/#pkg-constants for details) as flags, and\nWARNING as logging level.\n\nLogging level of standard logger can be changed via SetLevel(level int).\nUse constants DEBUG, INFO, WARNING, ERROR or CRITICAL for setting the level value.\nYou can also change output: SetOutput(w io.Writer), log message prefix: SetPrefix(prefix string),\nand message format flags: SetFlags(flag int) (see https://golang.org/pkg/log/#pkg-constants\nfor details about flags).\n\nTo create a new log message of the required logging level you have to use one of the following functions:\n\n    Debug(v ...interface{})\t\t\t// equal to log.Println() when logging level is DEBUG\n    Info(v ...interface{}) \t\t\t// equal to log.Println() when logging level is INFO or less\n    Warning(v ...interface{})\t\t// equal to log.Println() when logging level is WARNING or less\n    Error(v ...interface{})\t\t\t// equal to log.Println() when logging level is ERROR or less\n    Critical(v ...interface{})\t\t// equal to log.Panicln() in any logging level\n    Debugf(format string, v ...interface{})\t\t\t// equal to log.Printf() when logging level is DEBUG\n    Infof(format string, v ...interface{})\t\t\t// equal to log.Printf() when logging level is INFO or less\n    Warningf(format string, v ...interface{})\t\t// equal to log.Printf() when logging level is WARNING or less\n    Errorf(format string, v ...interface{})\t\t\t// equal to log.Printf() when logging level is ERROR or less\n    Criticalf(format string, v ...interface{})\t\t// equal to log.Panicf() in any logging level\n\nOutput of the functions will be additionally tagged with one letter identifier of logging level\nof the message: D(EBUG), I(NFO), W(ARNING), E(RROR) or C(RITICAL). For example:\n\n    Warning(\"Some message\") // Output: W: Some message\n\nWhen the current logging level is greater than level of created message then function do nothing.\n\nNew() allows to create the new Logger that has the same methods as standard logger.\n\nNOTE: as llog.Logger is just extension of log.Logger the full set of log package\nmethods/functions/constants are available to use together with llog methods. But standard logger\nhas only llog declared methods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslytomcat%2Fllog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslytomcat%2Fllog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslytomcat%2Fllog/lists"}