{"action":"created","comment":{"url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments/36387915","id":36387915,"diff_hunk":"@@ -1,37 +1,37 @@\n-# Errors & Logging\n+# 錯誤與日誌\n \n-- [Introduction](#introduction)\n-- [Configuration](#configuration)\n-- [The Exception Handler](#the-exception-handler)\n-    - [Report Method](#report-method)\n-    - [Render Method](#render-method)\n-- [HTTP Exceptions](#http-exceptions)\n-    - [Custom HTTP Error Pages](#custom-http-error-pages)\n-- [Logging](#logging)\n+- [簡介](#introduction)\n+- [設定](#configuration)\n+- [錯誤處理](#the-exception-handler)\n+    - [報告方法](#report-method)\n+    - [呈現方法](#render-method)\n+- [HTTP 例外](#http-exceptions)\n+    - [客製化 HTTP 錯誤頁面](#custom-http-error-pages)\n+- [日誌](#logging)\n \n <a name=\"introduction\"></a>\n-## Introduction\n+## 簡介\n \n-When you start a new Laravel project, error and exception handling is already configured for you. In addition, Laravel is integrated with the [Monolog](https://github.com/Seldaek/monolog) logging library, which provides support for a variety of powerful log handlers.\n+當你開始一個新的 Laravel 專案時，Laravel 已經幫你設定好錯誤和例外的處理。另外，Laravel 也綜合了 [Monolog](https://github.com/Seldaek/monolog) 日誌函式庫，Monolog 支援和提供多種強大的日誌處理。\n \n <a name=\"configuration\"></a>\n-## Configuration\n+## 設定\n \n-#### Error Detail\n+#### 錯誤細節\n \n-The amount of error detail your application displays through the browser is controlled by the `debug` configuration option in your `config/app.php` configuration file. By default, this configuration option is set to respect the `APP_DEBUG` environment variable, which is stored in your `.env` file.\n+你的應用程式透過`config/app.php` 設定檔中的 `debug` 設定選項來控制瀏覽器顯示錯誤的細節。預設情況下，這個設定選項是依照 `App_DEBUG` 環境變數，這個設定選項被儲存在 `.env` 檔案。\n \n-For local development, you should set the `APP_DEBUG` environment variable to `true`. In your production environment, this value should always be `false`.\n+在本機開發的時候，你應該將 `APP_DEBUG` 環境變數設定為 `true`。在你的生產環境下，這個變數應該為 `false`。","path":"errors.md","position":39,"original_position":39,"commit_id":"90688fe3020cde4b80553afcd8fe38c44524b966","original_commit_id":"90688fe3020cde4b80553afcd8fe38c44524b966","user":{"login":"jigsawye","id":8567270,"avatar_url":"https://avatars.githubusercontent.com/u/8567270?v=3","gravatar_id":"","url":"https://api.github.com/users/jigsawye","html_url":"https://github.com/jigsawye","followers_url":"https://api.github.com/users/jigsawye/followers","following_url":"https://api.github.com/users/jigsawye/following{/other_user}","gists_url":"https://api.github.com/users/jigsawye/gists{/gist_id}","starred_url":"https://api.github.com/users/jigsawye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jigsawye/subscriptions","organizations_url":"https://api.github.com/users/jigsawye/orgs","repos_url":"https://api.github.com/users/jigsawye/repos","events_url":"https://api.github.com/users/jigsawye/events{/privacy}","received_events_url":"https://api.github.com/users/jigsawye/received_events","type":"User","site_admin":false},"body":"production environment 指的是上線環境\r\n在你的上線環境中，這個值應該永遠為 false 。","created_at":"2015-08-06T07:33:30Z","updated_at":"2015-08-06T07:33:30Z","html_url":"https://github.com/laravel-taiwan/docs/pull/203#discussion_r36387915","pull_request_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203","_links":{"self":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments/36387915"},"html":{"href":"https://github.com/laravel-taiwan/docs/pull/203#discussion_r36387915"},"pull_request":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203"}}},"pull_request":{"url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203","id":41311790,"html_url":"https://github.com/laravel-taiwan/docs/pull/203","diff_url":"https://github.com/laravel-taiwan/docs/pull/203.diff","patch_url":"https://github.com/laravel-taiwan/docs/pull/203.patch","issue_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/203","number":203,"state":"open","locked":false,"title":"Translate errors.md","user":{"login":"neighborhood999","id":10325111,"avatar_url":"https://avatars.githubusercontent.com/u/10325111?v=3","gravatar_id":"","url":"https://api.github.com/users/neighborhood999","html_url":"https://github.com/neighborhood999","followers_url":"https://api.github.com/users/neighborhood999/followers","following_url":"https://api.github.com/users/neighborhood999/following{/other_user}","gists_url":"https://api.github.com/users/neighborhood999/gists{/gist_id}","starred_url":"https://api.github.com/users/neighborhood999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neighborhood999/subscriptions","organizations_url":"https://api.github.com/users/neighborhood999/orgs","repos_url":"https://api.github.com/users/neighborhood999/repos","events_url":"https://api.github.com/users/neighborhood999/events{/privacy}","received_events_url":"https://api.github.com/users/neighborhood999/received_events","type":"User","site_admin":false},"body":"再麻煩各位校稿了。感謝","created_at":"2015-07-31T06:49:34Z","updated_at":"2015-08-06T07:33:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fce20dcc624a68d43960c3f22b43ef3a0eadfc9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203/commits","review_comments_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203/comments","review_comment_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/203/comments","statuses_url":"https://api.github.com/repos/laravel-taiwan/docs/statuses/90688fe3020cde4b80553afcd8fe38c44524b966","head":{"label":"neighborhood999:5.1","ref":"5.1","sha":"90688fe3020cde4b80553afcd8fe38c44524b966","user":{"login":"neighborhood999","id":10325111,"avatar_url":"https://avatars.githubusercontent.com/u/10325111?v=3","gravatar_id":"","url":"https://api.github.com/users/neighborhood999","html_url":"https://github.com/neighborhood999","followers_url":"https://api.github.com/users/neighborhood999/followers","following_url":"https://api.github.com/users/neighborhood999/following{/other_user}","gists_url":"https://api.github.com/users/neighborhood999/gists{/gist_id}","starred_url":"https://api.github.com/users/neighborhood999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neighborhood999/subscriptions","organizations_url":"https://api.github.com/users/neighborhood999/orgs","repos_url":"https://api.github.com/users/neighborhood999/repos","events_url":"https://api.github.com/users/neighborhood999/events{/privacy}","received_events_url":"https://api.github.com/users/neighborhood999/received_events","type":"User","site_admin":false},"repo":{"id":37724978,"name":"docs","full_name":"neighborhood999/docs","owner":{"login":"neighborhood999","id":10325111,"avatar_url":"https://avatars.githubusercontent.com/u/10325111?v=3","gravatar_id":"","url":"https://api.github.com/users/neighborhood999","html_url":"https://github.com/neighborhood999","followers_url":"https://api.github.com/users/neighborhood999/followers","following_url":"https://api.github.com/users/neighborhood999/following{/other_user}","gists_url":"https://api.github.com/users/neighborhood999/gists{/gist_id}","starred_url":"https://api.github.com/users/neighborhood999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neighborhood999/subscriptions","organizations_url":"https://api.github.com/users/neighborhood999/orgs","repos_url":"https://api.github.com/users/neighborhood999/repos","events_url":"https://api.github.com/users/neighborhood999/events{/privacy}","received_events_url":"https://api.github.com/users/neighborhood999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neighborhood999/docs","description":"Laravel Framework 繁體中文文件","fork":true,"url":"https://api.github.com/repos/neighborhood999/docs","forks_url":"https://api.github.com/repos/neighborhood999/docs/forks","keys_url":"https://api.github.com/repos/neighborhood999/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neighborhood999/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neighborhood999/docs/teams","hooks_url":"https://api.github.com/repos/neighborhood999/docs/hooks","issue_events_url":"https://api.github.com/repos/neighborhood999/docs/issues/events{/number}","events_url":"https://api.github.com/repos/neighborhood999/docs/events","assignees_url":"https://api.github.com/repos/neighborhood999/docs/assignees{/user}","branches_url":"https://api.github.com/repos/neighborhood999/docs/branches{/branch}","tags_url":"https://api.github.com/repos/neighborhood999/docs/tags","blobs_url":"https://api.github.com/repos/neighborhood999/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neighborhood999/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neighborhood999/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/neighborhood999/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neighborhood999/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/neighborhood999/docs/languages","stargazers_url":"https://api.github.com/repos/neighborhood999/docs/stargazers","contributors_url":"https://api.github.com/repos/neighborhood999/docs/contributors","subscribers_url":"https://api.github.com/repos/neighborhood999/docs/subscribers","subscription_url":"https://api.github.com/repos/neighborhood999/docs/subscription","commits_url":"https://api.github.com/repos/neighborhood999/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/neighborhood999/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/neighborhood999/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/neighborhood999/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/neighborhood999/docs/contents/{+path}","compare_url":"https://api.github.com/repos/neighborhood999/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neighborhood999/docs/merges","archive_url":"https://api.github.com/repos/neighborhood999/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neighborhood999/docs/downloads","issues_url":"https://api.github.com/repos/neighborhood999/docs/issues{/number}","pulls_url":"https://api.github.com/repos/neighborhood999/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/neighborhood999/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/neighborhood999/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neighborhood999/docs/labels{/name}","releases_url":"https://api.github.com/repos/neighborhood999/docs/releases{/id}","created_at":"2015-06-19T14:02:52Z","updated_at":"2015-06-19T00:34:35Z","pushed_at":"2015-08-01T17:00:05Z","git_url":"git://github.com/neighborhood999/docs.git","ssh_url":"git@github.com:neighborhood999/docs.git","clone_url":"https://github.com/neighborhood999/docs.git","svn_url":"https://github.com/neighborhood999/docs","homepage":"http://laravel.tw/docs/","size":4891,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"5.1"}},"base":{"label":"laravel-taiwan:5.1","ref":"5.1","sha":"1542e53b086ce4f786326158d787348d18e5196c","user":{"login":"laravel-taiwan","id":6195619,"avatar_url":"https://avatars.githubusercontent.com/u/6195619?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel-taiwan","html_url":"https://github.com/laravel-taiwan","followers_url":"https://api.github.com/users/laravel-taiwan/followers","following_url":"https://api.github.com/users/laravel-taiwan/following{/other_user}","gists_url":"https://api.github.com/users/laravel-taiwan/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel-taiwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel-taiwan/subscriptions","organizations_url":"https://api.github.com/users/laravel-taiwan/orgs","repos_url":"https://api.github.com/users/laravel-taiwan/repos","events_url":"https://api.github.com/users/laravel-taiwan/events{/privacy}","received_events_url":"https://api.github.com/users/laravel-taiwan/received_events","type":"Organization","site_admin":false},"repo":{"id":15297985,"name":"docs","full_name":"laravel-taiwan/docs","owner":{"login":"laravel-taiwan","id":6195619,"avatar_url":"https://avatars.githubusercontent.com/u/6195619?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel-taiwan","html_url":"https://github.com/laravel-taiwan","followers_url":"https://api.github.com/users/laravel-taiwan/followers","following_url":"https://api.github.com/users/laravel-taiwan/following{/other_user}","gists_url":"https://api.github.com/users/laravel-taiwan/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel-taiwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel-taiwan/subscriptions","organizations_url":"https://api.github.com/users/laravel-taiwan/orgs","repos_url":"https://api.github.com/users/laravel-taiwan/repos","events_url":"https://api.github.com/users/laravel-taiwan/events{/privacy}","received_events_url":"https://api.github.com/users/laravel-taiwan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel-taiwan/docs","description":"Laravel Framework 繁體中文文件","fork":true,"url":"https://api.github.com/repos/laravel-taiwan/docs","forks_url":"https://api.github.com/repos/laravel-taiwan/docs/forks","keys_url":"https://api.github.com/repos/laravel-taiwan/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel-taiwan/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel-taiwan/docs/teams","hooks_url":"https://api.github.com/repos/laravel-taiwan/docs/hooks","issue_events_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/events{/number}","events_url":"https://api.github.com/repos/laravel-taiwan/docs/events","assignees_url":"https://api.github.com/repos/laravel-taiwan/docs/assignees{/user}","branches_url":"https://api.github.com/repos/laravel-taiwan/docs/branches{/branch}","tags_url":"https://api.github.com/repos/laravel-taiwan/docs/tags","blobs_url":"https://api.github.com/repos/laravel-taiwan/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel-taiwan/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel-taiwan/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel-taiwan/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel-taiwan/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel-taiwan/docs/languages","stargazers_url":"https://api.github.com/repos/laravel-taiwan/docs/stargazers","contributors_url":"https://api.github.com/repos/laravel-taiwan/docs/contributors","subscribers_url":"https://api.github.com/repos/laravel-taiwan/docs/subscribers","subscription_url":"https://api.github.com/repos/laravel-taiwan/docs/subscription","commits_url":"https://api.github.com/repos/laravel-taiwan/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel-taiwan/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel-taiwan/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel-taiwan/docs/contents/{+path}","compare_url":"https://api.github.com/repos/laravel-taiwan/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel-taiwan/docs/merges","archive_url":"https://api.github.com/repos/laravel-taiwan/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel-taiwan/docs/downloads","issues_url":"https://api.github.com/repos/laravel-taiwan/docs/issues{/number}","pulls_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel-taiwan/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel-taiwan/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel-taiwan/docs/labels{/name}","releases_url":"https://api.github.com/repos/laravel-taiwan/docs/releases{/id}","created_at":"2013-12-19T00:42:13Z","updated_at":"2015-08-04T05:36:40Z","pushed_at":"2015-08-06T07:03:14Z","git_url":"git://github.com/laravel-taiwan/docs.git","ssh_url":"git@github.com:laravel-taiwan/docs.git","clone_url":"https://github.com/laravel-taiwan/docs.git","svn_url":"https://github.com/laravel-taiwan/docs","homepage":"http://laravel.tw/docs/","size":6212,"stargazers_count":47,"watchers_count":47,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":6,"forks":40,"open_issues":6,"watchers":47,"default_branch":"5.1"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203"},"html":{"href":"https://github.com/laravel-taiwan/docs/pull/203"},"issue":{"href":"https://api.github.com/repos/laravel-taiwan/docs/issues/203"},"comments":{"href":"https://api.github.com/repos/laravel-taiwan/docs/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/laravel-taiwan/docs/statuses/90688fe3020cde4b80553afcd8fe38c44524b966"}}}}