{"id":25420229,"url":"https://github.com/aletheia7/ul","last_synced_at":"2025-10-31T11:30:35.777Z","repository":{"id":57899811,"uuid":"102797432","full_name":"aletheia7/ul","owner":"aletheia7","description":"Provides macOS Sierra/OSX Unified Loggging functionality via cgo","archived":false,"fork":false,"pushed_at":"2023-03-30T13:07:11.000Z","size":15,"stargazers_count":3,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-11T22:32:19.721Z","etag":null,"topics":["golang","logging","macos","osx","sierra","unified","xcode"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aletheia7.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":"2017-09-08T00:03:25.000Z","updated_at":"2023-03-30T02:01:47.000Z","dependencies_parsed_at":"2022-08-30T20:12:29.584Z","dependency_job_id":null,"html_url":"https://github.com/aletheia7/ul","commit_stats":null,"previous_names":[],"tags_count":6,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aletheia7%2Ful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aletheia7%2Ful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aletheia7%2Ful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aletheia7%2Ful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aletheia7","download_url":"https://codeload.github.com/aletheia7/ul/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239188118,"owners_count":19597022,"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":["golang","logging","macos","osx","sierra","unified","xcode"],"created_at":"2025-02-16T19:36:28.822Z","updated_at":"2025-10-31T11:30:35.721Z","avatar_url":"https://github.com/aletheia7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/aletheia7/ul.svg)](https://pkg.go.dev/github.com/aletheia7/ul)\n\n#### Install \n```bash\ngo get github.com/aletheia7/ul\ngo test -v\n```\n\n- Requires OSX Xcode compiler\n- Supports macOS os_log subsystem/category logging\n- Implements io.Writer and can be used with the go log package\n\n#### Example\n\n```go\npackage main\n\nimport (\n\t\"github.com/aletheia7/ul\"\n\t\"log\"\n)\n\nfunc main() {\n\tl := ul.New()\n\tl.Log(\"Hello\")\n\n\t// To see subsystem/category messages:\n\t// # log stream --level debug --predicate 'subsystem == \"com.example.myapp\"'\n\t// Filtering the log data using \"subsystem == \"com.example.myapp\"\"\n\t// Timestamp                       Thread     Type        Activity             PID\n\t// 2017-09-07 17:17:01.680996-0700 0x20870    Default     0x0                  1842   t: [com.example.myapp.whatever] hi\n\n\tlo := ul.New_object(\"com.example.myapp\", \"whatever\")\n\t// Must call Release() for subsystem/category logger only\n\tdefer lo.Release()\n\tlo.Log(\"hi\")\n\t\n\t// golang log package\n\n\tmylogger := log.New(lo, \"stuff \", log.Lshortfile|log.Ltime)\n\tmylogger.Println(\"wow\") \n}\n```\n\n#### License \n\nUse of this source code is governed by a BSD-2-Clause license that can be found\nin the LICENSE file.\n\n[![BSD-2-Clause License](img/osi_logo_100X133_90ppi_0.png)](https://opensource.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faletheia7%2Ful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faletheia7%2Ful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faletheia7%2Ful/lists"}