{"action":"created","issue":{"url":"https://api.github.com/repos/mperdeck/jsnlog/issues/88","labels_url":"https://api.github.com/repos/mperdeck/jsnlog/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/mperdeck/jsnlog/issues/88/comments","events_url":"https://api.github.com/repos/mperdeck/jsnlog/issues/88/events","html_url":"https://github.com/mperdeck/jsnlog/issues/88","id":120554708,"number":88,"title":"onceOnly without a regexp","user":{"login":"JanisE","id":1469104,"avatar_url":"https://avatars.githubusercontent.com/u/1469104?v=3","gravatar_id":"","url":"https://api.github.com/users/JanisE","html_url":"https://github.com/JanisE","followers_url":"https://api.github.com/users/JanisE/followers","following_url":"https://api.github.com/users/JanisE/following{/other_user}","gists_url":"https://api.github.com/users/JanisE/gists{/gist_id}","starred_url":"https://api.github.com/users/JanisE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanisE/subscriptions","organizations_url":"https://api.github.com/users/JanisE/orgs","repos_url":"https://api.github.com/users/JanisE/repos","events_url":"https://api.github.com/users/JanisE/events{/privacy}","received_events_url":"https://api.github.com/users/JanisE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-05T13:38:43Z","updated_at":"2015-12-05T14:14:08Z","closed_at":null,"body":"Hello!\r\n\r\nI would like to suggest the option \"onceOnly\" to have a simple form of taking no arguments and discarding all messages that are exactly the same (the same error message, the same backtrace)."},"comment":{"url":"https://api.github.com/repos/mperdeck/jsnlog/issues/comments/162191804","html_url":"https://github.com/mperdeck/jsnlog/issues/88#issuecomment-162191804","issue_url":"https://api.github.com/repos/mperdeck/jsnlog/issues/88","id":162191804,"user":{"login":"mperdeck","id":1974601,"avatar_url":"https://avatars.githubusercontent.com/u/1974601?v=3","gravatar_id":"","url":"https://api.github.com/users/mperdeck","html_url":"https://github.com/mperdeck","followers_url":"https://api.github.com/users/mperdeck/followers","following_url":"https://api.github.com/users/mperdeck/following{/other_user}","gists_url":"https://api.github.com/users/mperdeck/gists{/gist_id}","starred_url":"https://api.github.com/users/mperdeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mperdeck/subscriptions","organizations_url":"https://api.github.com/users/mperdeck/orgs","repos_url":"https://api.github.com/users/mperdeck/repos","events_url":"https://api.github.com/users/mperdeck/events{/privacy}","received_events_url":"https://api.github.com/users/mperdeck/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T14:14:08Z","updated_at":"2015-12-05T14:14:08Z","body":"The onceOnly form with no arguments already exists. When that is used, it cancels the onceOnly of the parent logger. See very bottom of\r\nhttp://jsnlog.com/Documentation/Configuration/JSNLog/Logger\r\n\r\nI get what you're saying about having a way to suppress all exact duplicates (without matching regular expressions). That would be a useful feature. Maybe a boolean flag on the logger \"suppressAllDuplicates\" or something like that.\r\n\r\nI won't have much time until the beginning of January. But after that, if you want to implement this feature and send me a pull request, that would be awesome.\r\n\r\n\r\n"}}