{"id":23091634,"url":"https://github.com/josevte/laravel-logger","last_synced_at":"2025-04-03T18:18:34.035Z","repository":{"id":57001844,"uuid":"97828127","full_name":"JoseVte/laravel-logger","owner":"JoseVte","description":"Custom logger to laravel","archived":false,"fork":false,"pushed_at":"2018-04-09T13:26:29.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T06:32:21.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoseVte.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-20T11:35:09.000Z","updated_at":"2018-04-09T13:26:18.000Z","dependencies_parsed_at":"2022-08-21T14:10:36.300Z","dependency_job_id":null,"html_url":"https://github.com/JoseVte/laravel-logger","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoseVte%2Flaravel-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoseVte%2Flaravel-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoseVte%2Flaravel-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoseVte%2Flaravel-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoseVte","download_url":"https://codeload.github.com/JoseVte/laravel-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247052620,"owners_count":20875685,"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":[],"created_at":"2024-12-16T21:18:54.601Z","updated_at":"2025-04-03T18:18:34.010Z","avatar_url":"https://github.com/JoseVte.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Laravel 5.x ChannelLog\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/josrom/laravel-logger\"\u003e\u003cimg src=\"https://poser.pugx.org/josrom/laravel-logger/d/total.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/josrom/laravel-logger\"\u003e\u003cimg src=\"https://poser.pugx.org/josrom/laravel-logger/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/josrom/laravel-logger\"\u003e\u003cimg src=\"https://poser.pugx.org/josrom/laravel-logger/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### Introduction\n\nChannelLog provides a feature to log in different files.\n\n### Installation\n\nTo get the last version of ChannelLog, simply require the project using [Composer](https://getcomposer.org/):\n\n```bash\ncomposer require josrom/laravel-logger\n```\n\nInstead, you may of course manually update your require block and run composer update if you so choose:\n\n```json\n{\n    \"require\": {\n        \"josrom/laravel-logger\": \"0.1.*\"\n    }\n}\n```\n\nAdd the service provider and alias to `config/app.php` file:\n\n```php\n'providers' =\u003e [\n    // Other Service Providers\n\n    Laravel\\ChannelLog\\ChannelLogServiceProvider::class,\n],\n\n'aliases' =\u003e [\n    // Other Alias\n    \n    'ChannelLog' =\u003e \\Laravel\\ChannelLog\\ChannelLog::class,\n],\n```\n\nAfter to set up the provider, copy the default config file from the package using the `vendor:publish` artisan command:\n\n```bash\nphp artisan vendor:publish --provider=\"Laravel\\ChannelLog\\ChannelLogServiceProvider\"\n```\n\n### Usage\n\nEdit the config to add new logs, channels and extras:\n\n```php\n    'error' =\u003e [\n        'path' =\u003e 'logs/laravel-error.log',\n        'level' =\u003e \\Monolog\\Logger::ERROR,\n    ],\n    'info' =\u003e [\n        'path' =\u003e 'logs/laravel-info.log',\n        'level' =\u003e \\Monolog\\Logger::INFO,\n        'extras' =\u003e ['internet-provider'],\n    ],\n```\n\n#### Extras availables\n\n* Internet provider: `internet-provider`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosevte%2Flaravel-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosevte%2Flaravel-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosevte%2Flaravel-logger/lists"}