{"id":3669778,"name":"github.com/devnw/alog","ecosystem":"go","description":"Package alog is an implementation of a fully concurrent non-IO blocking\nlog library. Internally messages are routed through a number of subscribed\ndestinations consisting of destination log levels, timezone formatting\nstrings and an io.Writer for the destination to be written to.\n\nThe globally available functions utilize a singleton implementation of a\nglobal logger that is initialized when the package is loaded. This global\nlogger utilizes os.Stdout for INFO, DEBUG, TRACE, WARN, CUSTOM logs, and\nos.Stderr for ERROR, CRITICAL, FATAL as defined in the method Standard()\n\nThe global logger singleton can be overridden using the \"Global\" method\npassing in the proper parameters as required by your use case.\n\nIf you prefer to use a non-global singleton logger you can use the \"New\"\nmethod to create a new logger which implements the alog packages \"Logger\"\ninterface which can be passed throughout an application as a logger.\n\nEach log level has an associated function:\n\nc(channel) functions are special methods in the logger that rather than being called\ndirectly are passed a channel which receives logs into the logger in a\nconcurrent manner without direct calls to the `c(channel) function` again afterwards.\nThese methods are particularly useful for applications where the overhead of\na logger in concurrent actions is a particular nuisance. For these cases the\nc(channel) functions are a perfect use case. Each log level supports it's own\nc(channel) function.\n\nalog currently support two log formatting types\n* STD =\u003e Formats your logs using a \"PREFIX DATE [LEVEL] Log | err: Error\"\n* JSON =\u003e Formats your logs using JSON in the following form\n`{\"prefix\":\"PREFIX\",\"type\":\"ERROR\",\"timestamp\":\"2020-03-01T16:21:28-06:00\",\"error\":\"ERROR\",\"messages\":[\"ERROR\"]}`","homepage":"https://github.com/devnw/alog","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/devnw/alog","keywords_array":[],"namespace":"github.com/devnw","versions_count":9,"first_release_published_at":"2020-03-01T22:37:57.000Z","latest_release_published_at":"2021-08-08T18:44:02.000Z","latest_release_number":"v1.1.1","last_synced_at":"2026-05-28T19:43:23.037Z","created_at":"2022-04-11T10:19:12.585Z","updated_at":"2026-05-28T19:43:23.037Z","registry_url":"https://pkg.go.dev/github.com/devnw/alog","install_command":"go get github.com/devnw/alog","documentation_url":"https://pkg.go.dev/github.com/devnw/alog#section-documentation","metadata":{},"repo_metadata":{"uuid":"216386490","full_name":"devnw/alog","owner":"devnw","description":"Fully concurrent, non-IO blocking Logger for Go","archived":false,"fork":false,"pushed_at":"2023-02-20T03:23:36.000Z","size":221,"stargazers_count":12,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-04T04:18:09.924Z","etag":null,"topics":["concurrent","golang","golang-library","golang-package","golang-tools","logging","logging-and-metrics","logging-library","non-blocking","non-blocking-io","parallel","structured-logger","structured-logging"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-10-20T15:47:56.000Z","updated_at":"2022-10-30T20:51:50.000Z","dependencies_parsed_at":"2022-08-09T18:11:16.880Z","dependency_job_id":null,"html_url":"https://github.com/devnw/alog","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnw%2Falog","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnw%2Falog/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnw%2Falog/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devnw","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"}},"repo_metadata_updated_at":"2023-03-21T18:56:03.057Z","dependent_packages_count":9,"downloads":null,"downloads_period":null,"dependent_repos_count":5,"rankings":{"downloads":null,"dependent_repos_count":2.2558646481211126,"dependent_packages_count":1.7664940103593783,"stargazers_count":9.49163050216987,"forks_count":18.873767573945564,"docker_downloads_count":null,"average":8.096939183648981},"purl":"pkg:golang/github.com/devnw/alog","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/devnw/alog","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/devnw/alog","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/devnw/alog/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-18T00:14:35.890Z","issues_count":20,"pull_requests_count":58,"avg_time_to_close_issue":1245852.0,"avg_time_to_close_pull_request":161455.7068965517,"issues_closed_count":9,"pull_requests_closed_count":58,"pull_request_authors_count":3,"issue_authors_count":1,"avg_comments_per_issue":0.2,"avg_comments_per_pull_request":0.8448275862068966,"merged_pull_requests_count":52,"bot_issues_count":0,"bot_pull_requests_count":35,"past_year_issues_count":0,"past_year_pull_requests_count":8,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":242.75,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":8,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":8,"past_year_merged_pull_requests_count":8},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdevnw%2Falog/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdevnw%2Falog/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdevnw%2Falog/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdevnw%2Falog/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdevnw%2Falog/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdevnw%2Falog/codemeta","maintainers":[]}