{"action":"created","comment":{"url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/comments/57694083","id":57694083,"diff_hunk":"@@ -1,26 +1,32 @@\n # clj-loga [![Circle CI](https://circleci.com/gh/FundingCircle/clj-loga/tree/master.svg?style=svg)](https://circleci.com/gh/FundingCircle/clj-loga/tree/master)\n \n-Library for custom log formatting and other helpers leveraging [Timbre](https://github.com/ptaoussanis/timbre/).\n+Standing on the shoulders of great logging library [Timbre](https://github.com/ptaoussanis/timbre/), loga extends Timbre's functionality with applying following features:\n+- custom json log appender - allows convenient way of parsing logs for log aggregators\n+- tagging log messages - allows to aggregate and track log events across multiple services based on the log\n+- obfuscation - prevent sensitive data to be readable in logs\n \n-Supports logging with timbre >= 4.1.1.\n+Loga also provides wrappers around Timbre's logging macros to allow logging directly from the library. It removes the need to use Timbre in the application directly, thus reduces risk of conflicts between version of Timbre used in Logs and in the application.\n+\n+Supports Timbre >= 4.1.1.\n \n ## Usage\n \n-**Installation**\n+### Installation\n \n [![Clojars Project](http://clojars.org/clj-loga/latest-version.svg)](http://clojars.org/clj-loga)\n \n-**Environment**\n+### Environment\n+Logga's features are mainly to benefit logging aggregators and its use makes logs less readable and inconvenient in development. Thus its required to allow loga explicitly.\n \n ```bash\n-#export env variable to apply formatting\n+# export env variable to apply formatting\n ENABLE_LOGA=true\n ```\n \n-**Repl**\n+### Repl","path":"README.md","position":32,"original_position":32,"commit_id":"3840d41cab954b371c0ee6cff8a1d74cfec15892","original_commit_id":"3840d41cab954b371c0ee6cff8a1d74cfec15892","user":{"login":"cassiomarques","id":13071,"avatar_url":"https://avatars.githubusercontent.com/u/13071?v=3","gravatar_id":"","url":"https://api.github.com/users/cassiomarques","html_url":"https://github.com/cassiomarques","followers_url":"https://api.github.com/users/cassiomarques/followers","following_url":"https://api.github.com/users/cassiomarques/following{/other_user}","gists_url":"https://api.github.com/users/cassiomarques/gists{/gist_id}","starred_url":"https://api.github.com/users/cassiomarques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassiomarques/subscriptions","organizations_url":"https://api.github.com/users/cassiomarques/orgs","repos_url":"https://api.github.com/users/cassiomarques/repos","events_url":"https://api.github.com/users/cassiomarques/events{/privacy}","received_events_url":"https://api.github.com/users/cassiomarques/received_events","type":"User","site_admin":false},"body":"REPL is an acronym, so it should be all in upper case letters.","created_at":"2016-03-29T09:23:05Z","updated_at":"2016-03-29T09:23:05Z","html_url":"https://github.com/FundingCircle/clj-loga/pull/20#discussion_r57694083","pull_request_url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/comments/57694083"},"html":{"href":"https://github.com/FundingCircle/clj-loga/pull/20#discussion_r57694083"},"pull_request":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20","id":64429724,"html_url":"https://github.com/FundingCircle/clj-loga/pull/20","diff_url":"https://github.com/FundingCircle/clj-loga/pull/20.diff","patch_url":"https://github.com/FundingCircle/clj-loga/pull/20.patch","issue_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues/20","number":20,"state":"open","locked":false,"title":"Timbre wrappers for direct logging","user":{"login":"apmaros","id":12405184,"avatar_url":"https://avatars.githubusercontent.com/u/12405184?v=3","gravatar_id":"","url":"https://api.github.com/users/apmaros","html_url":"https://github.com/apmaros","followers_url":"https://api.github.com/users/apmaros/followers","following_url":"https://api.github.com/users/apmaros/following{/other_user}","gists_url":"https://api.github.com/users/apmaros/gists{/gist_id}","starred_url":"https://api.github.com/users/apmaros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apmaros/subscriptions","organizations_url":"https://api.github.com/users/apmaros/orgs","repos_url":"https://api.github.com/users/apmaros/repos","events_url":"https://api.github.com/users/apmaros/events{/privacy}","received_events_url":"https://api.github.com/users/apmaros/received_events","type":"User","site_admin":false},"body":"Add wrappers around Timbre's logging macros to allow logging directly from the library as following:\r\n\r\n```clojure\r\n(require '[clj-loga.core :as loga])\r\n(loga/info \"my log message\")\r\n```\r\n\r\nSupported log levels:\r\n`:log :trace :debug :info :warn :error :fatal`","created_at":"2016-03-29T08:28:29Z","updated_at":"2016-03-29T09:23:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a47f168d4cb64cdc21d2799f464098fadcd938d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20/commits","review_comments_url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20/comments","review_comment_url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues/20/comments","statuses_url":"https://api.github.com/repos/FundingCircle/clj-loga/statuses/3840d41cab954b371c0ee6cff8a1d74cfec15892","head":{"label":"FundingCircle:timbre-wrappers","ref":"timbre-wrappers","sha":"3840d41cab954b371c0ee6cff8a1d74cfec15892","user":{"login":"FundingCircle","id":834834,"avatar_url":"https://avatars.githubusercontent.com/u/834834?v=3","gravatar_id":"","url":"https://api.github.com/users/FundingCircle","html_url":"https://github.com/FundingCircle","followers_url":"https://api.github.com/users/FundingCircle/followers","following_url":"https://api.github.com/users/FundingCircle/following{/other_user}","gists_url":"https://api.github.com/users/FundingCircle/gists{/gist_id}","starred_url":"https://api.github.com/users/FundingCircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FundingCircle/subscriptions","organizations_url":"https://api.github.com/users/FundingCircle/orgs","repos_url":"https://api.github.com/users/FundingCircle/repos","events_url":"https://api.github.com/users/FundingCircle/events{/privacy}","received_events_url":"https://api.github.com/users/FundingCircle/received_events","type":"Organization","site_admin":false},"repo":{"id":48441683,"name":"clj-loga","full_name":"FundingCircle/clj-loga","owner":{"login":"FundingCircle","id":834834,"avatar_url":"https://avatars.githubusercontent.com/u/834834?v=3","gravatar_id":"","url":"https://api.github.com/users/FundingCircle","html_url":"https://github.com/FundingCircle","followers_url":"https://api.github.com/users/FundingCircle/followers","following_url":"https://api.github.com/users/FundingCircle/following{/other_user}","gists_url":"https://api.github.com/users/FundingCircle/gists{/gist_id}","starred_url":"https://api.github.com/users/FundingCircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FundingCircle/subscriptions","organizations_url":"https://api.github.com/users/FundingCircle/orgs","repos_url":"https://api.github.com/users/FundingCircle/repos","events_url":"https://api.github.com/users/FundingCircle/events{/privacy}","received_events_url":"https://api.github.com/users/FundingCircle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FundingCircle/clj-loga","description":"Custom log formatting","fork":false,"url":"https://api.github.com/repos/FundingCircle/clj-loga","forks_url":"https://api.github.com/repos/FundingCircle/clj-loga/forks","keys_url":"https://api.github.com/repos/FundingCircle/clj-loga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FundingCircle/clj-loga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FundingCircle/clj-loga/teams","hooks_url":"https://api.github.com/repos/FundingCircle/clj-loga/hooks","issue_events_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues/events{/number}","events_url":"https://api.github.com/repos/FundingCircle/clj-loga/events","assignees_url":"https://api.github.com/repos/FundingCircle/clj-loga/assignees{/user}","branches_url":"https://api.github.com/repos/FundingCircle/clj-loga/branches{/branch}","tags_url":"https://api.github.com/repos/FundingCircle/clj-loga/tags","blobs_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/refs{/sha}","trees_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FundingCircle/clj-loga/statuses/{sha}","languages_url":"https://api.github.com/repos/FundingCircle/clj-loga/languages","stargazers_url":"https://api.github.com/repos/FundingCircle/clj-loga/stargazers","contributors_url":"https://api.github.com/repos/FundingCircle/clj-loga/contributors","subscribers_url":"https://api.github.com/repos/FundingCircle/clj-loga/subscribers","subscription_url":"https://api.github.com/repos/FundingCircle/clj-loga/subscription","commits_url":"https://api.github.com/repos/FundingCircle/clj-loga/commits{/sha}","git_commits_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/commits{/sha}","comments_url":"https://api.github.com/repos/FundingCircle/clj-loga/comments{/number}","issue_comment_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues/comments{/number}","contents_url":"https://api.github.com/repos/FundingCircle/clj-loga/contents/{+path}","compare_url":"https://api.github.com/repos/FundingCircle/clj-loga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FundingCircle/clj-loga/merges","archive_url":"https://api.github.com/repos/FundingCircle/clj-loga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FundingCircle/clj-loga/downloads","issues_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues{/number}","pulls_url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls{/number}","milestones_url":"https://api.github.com/repos/FundingCircle/clj-loga/milestones{/number}","notifications_url":"https://api.github.com/repos/FundingCircle/clj-loga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FundingCircle/clj-loga/labels{/name}","releases_url":"https://api.github.com/repos/FundingCircle/clj-loga/releases{/id}","deployments_url":"https://api.github.com/repos/FundingCircle/clj-loga/deployments","created_at":"2015-12-22T16:15:17Z","updated_at":"2016-01-17T18:05:52Z","pushed_at":"2016-03-29T08:28:29Z","git_url":"git://github.com/FundingCircle/clj-loga.git","ssh_url":"git@github.com:FundingCircle/clj-loga.git","clone_url":"https://github.com/FundingCircle/clj-loga.git","svn_url":"https://github.com/FundingCircle/clj-loga","homepage":null,"size":36,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"FundingCircle:master","ref":"master","sha":"af667788c8ce72e0c272f34c2050d86784220be8","user":{"login":"FundingCircle","id":834834,"avatar_url":"https://avatars.githubusercontent.com/u/834834?v=3","gravatar_id":"","url":"https://api.github.com/users/FundingCircle","html_url":"https://github.com/FundingCircle","followers_url":"https://api.github.com/users/FundingCircle/followers","following_url":"https://api.github.com/users/FundingCircle/following{/other_user}","gists_url":"https://api.github.com/users/FundingCircle/gists{/gist_id}","starred_url":"https://api.github.com/users/FundingCircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FundingCircle/subscriptions","organizations_url":"https://api.github.com/users/FundingCircle/orgs","repos_url":"https://api.github.com/users/FundingCircle/repos","events_url":"https://api.github.com/users/FundingCircle/events{/privacy}","received_events_url":"https://api.github.com/users/FundingCircle/received_events","type":"Organization","site_admin":false},"repo":{"id":48441683,"name":"clj-loga","full_name":"FundingCircle/clj-loga","owner":{"login":"FundingCircle","id":834834,"avatar_url":"https://avatars.githubusercontent.com/u/834834?v=3","gravatar_id":"","url":"https://api.github.com/users/FundingCircle","html_url":"https://github.com/FundingCircle","followers_url":"https://api.github.com/users/FundingCircle/followers","following_url":"https://api.github.com/users/FundingCircle/following{/other_user}","gists_url":"https://api.github.com/users/FundingCircle/gists{/gist_id}","starred_url":"https://api.github.com/users/FundingCircle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FundingCircle/subscriptions","organizations_url":"https://api.github.com/users/FundingCircle/orgs","repos_url":"https://api.github.com/users/FundingCircle/repos","events_url":"https://api.github.com/users/FundingCircle/events{/privacy}","received_events_url":"https://api.github.com/users/FundingCircle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FundingCircle/clj-loga","description":"Custom log formatting","fork":false,"url":"https://api.github.com/repos/FundingCircle/clj-loga","forks_url":"https://api.github.com/repos/FundingCircle/clj-loga/forks","keys_url":"https://api.github.com/repos/FundingCircle/clj-loga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FundingCircle/clj-loga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FundingCircle/clj-loga/teams","hooks_url":"https://api.github.com/repos/FundingCircle/clj-loga/hooks","issue_events_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues/events{/number}","events_url":"https://api.github.com/repos/FundingCircle/clj-loga/events","assignees_url":"https://api.github.com/repos/FundingCircle/clj-loga/assignees{/user}","branches_url":"https://api.github.com/repos/FundingCircle/clj-loga/branches{/branch}","tags_url":"https://api.github.com/repos/FundingCircle/clj-loga/tags","blobs_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/refs{/sha}","trees_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FundingCircle/clj-loga/statuses/{sha}","languages_url":"https://api.github.com/repos/FundingCircle/clj-loga/languages","stargazers_url":"https://api.github.com/repos/FundingCircle/clj-loga/stargazers","contributors_url":"https://api.github.com/repos/FundingCircle/clj-loga/contributors","subscribers_url":"https://api.github.com/repos/FundingCircle/clj-loga/subscribers","subscription_url":"https://api.github.com/repos/FundingCircle/clj-loga/subscription","commits_url":"https://api.github.com/repos/FundingCircle/clj-loga/commits{/sha}","git_commits_url":"https://api.github.com/repos/FundingCircle/clj-loga/git/commits{/sha}","comments_url":"https://api.github.com/repos/FundingCircle/clj-loga/comments{/number}","issue_comment_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues/comments{/number}","contents_url":"https://api.github.com/repos/FundingCircle/clj-loga/contents/{+path}","compare_url":"https://api.github.com/repos/FundingCircle/clj-loga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FundingCircle/clj-loga/merges","archive_url":"https://api.github.com/repos/FundingCircle/clj-loga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FundingCircle/clj-loga/downloads","issues_url":"https://api.github.com/repos/FundingCircle/clj-loga/issues{/number}","pulls_url":"https://api.github.com/repos/FundingCircle/clj-loga/pulls{/number}","milestones_url":"https://api.github.com/repos/FundingCircle/clj-loga/milestones{/number}","notifications_url":"https://api.github.com/repos/FundingCircle/clj-loga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FundingCircle/clj-loga/labels{/name}","releases_url":"https://api.github.com/repos/FundingCircle/clj-loga/releases{/id}","deployments_url":"https://api.github.com/repos/FundingCircle/clj-loga/deployments","created_at":"2015-12-22T16:15:17Z","updated_at":"2016-01-17T18:05:52Z","pushed_at":"2016-03-29T08:28:29Z","git_url":"git://github.com/FundingCircle/clj-loga.git","ssh_url":"git@github.com:FundingCircle/clj-loga.git","clone_url":"https://github.com/FundingCircle/clj-loga.git","svn_url":"https://github.com/FundingCircle/clj-loga","homepage":null,"size":36,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20"},"html":{"href":"https://github.com/FundingCircle/clj-loga/pull/20"},"issue":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/issues/20"},"comments":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/FundingCircle/clj-loga/statuses/3840d41cab954b371c0ee6cff8a1d74cfec15892"}}}}