{"id":37587689,"url":"https://github.com/alaa-almaliki/laravel-log","last_synced_at":"2026-01-16T09:48:16.981Z","repository":{"id":56977981,"uuid":"250403289","full_name":"alaa-almaliki/laravel-log","owner":"alaa-almaliki","description":"Laravel Logging ","archived":false,"fork":false,"pushed_at":"2020-03-27T01:49:35.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T00:30:20.279Z","etag":null,"topics":["laravel","logging"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alaa-almaliki.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":"2020-03-27T00:25:10.000Z","updated_at":"2024-04-24T00:30:20.280Z","dependencies_parsed_at":"2022-08-21T11:50:35.623Z","dependency_job_id":null,"html_url":"https://github.com/alaa-almaliki/laravel-log","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/alaa-almaliki/laravel-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaa-almaliki%2Flaravel-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaa-almaliki%2Flaravel-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaa-almaliki%2Flaravel-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaa-almaliki%2Flaravel-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaa-almaliki","download_url":"https://codeload.github.com/alaa-almaliki/laravel-log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaa-almaliki%2Flaravel-log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: 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":["laravel","logging"],"created_at":"2026-01-16T09:48:16.790Z","updated_at":"2026-01-16T09:48:16.945Z","avatar_url":"https://github.com/alaa-almaliki.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Log\n\n## Existing Logs\n\nException Log\n\n```php\ntry {\n        throw new Exception('Test');\n    } catch (Exception $exception) {\n        \\Enkidu\\Log\\Facades\\ExceptionLogger::logException($exception); // exception.log\n    }\n```\n\nDebug Log\n```php\n\\Enkidu\\Log\\Facades\\DebugLogger::info('Test'); // debug.log\n```\n\n## Creating custom log\n\n* Add logging channel in `config/logging.php`\n```php\n   'channels' =\u003e [\n   ...\n   'test' =\u003e [\n        'driver' =\u003e 'single',\n        'path' =\u003e storage_path('logs/test.log'),\n        'level' =\u003e 'info',\n   ],\n  ...\n]\n```\n\n* Create custom logging class\n```php\nclass TestLogger extends BaseLogger\n{\n    /**\n     * @inheritDoc\n     */\n    protected function getLoggingChannel(): string\n    {\n        return 'test';\n    }\n}\n```\n\nHow to use\n```php\n$test = new \\App\\Logger\\TestLogger;\n $test-\u003einfo('Test'); // test.log\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaa-almaliki%2Flaravel-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaa-almaliki%2Flaravel-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaa-almaliki%2Flaravel-log/lists"}