{"action":"closed","issue":{"url":"https://api.github.com/repos/scijava/scijava-common/issues/84","labels_url":"https://api.github.com/repos/scijava/scijava-common/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/scijava/scijava-common/issues/84/comments","events_url":"https://api.github.com/repos/scijava/scijava-common/issues/84/events","html_url":"https://github.com/scijava/scijava-common/issues/84","id":35600883,"number":84,"title":"LogService should have non-consuming Handler plugins","user":{"login":"hinerm","id":1123809,"avatar_url":"https://avatars.githubusercontent.com/u/1123809?v=3","gravatar_id":"","url":"https://api.github.com/users/hinerm","html_url":"https://github.com/hinerm","followers_url":"https://api.github.com/users/hinerm/followers","following_url":"https://api.github.com/users/hinerm/following{/other_user}","gists_url":"https://api.github.com/users/hinerm/gists{/gist_id}","starred_url":"https://api.github.com/users/hinerm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinerm/subscriptions","organizations_url":"https://api.github.com/users/hinerm/orgs","repos_url":"https://api.github.com/users/hinerm/repos","events_url":"https://api.github.com/users/hinerm/events{/privacy}","received_events_url":"https://api.github.com/users/hinerm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scijava/scijava-common/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"ctrueden","id":556626,"avatar_url":"https://avatars.githubusercontent.com/u/556626?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrueden","html_url":"https://github.com/ctrueden","followers_url":"https://api.github.com/users/ctrueden/followers","following_url":"https://api.github.com/users/ctrueden/following{/other_user}","gists_url":"https://api.github.com/users/ctrueden/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrueden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrueden/subscriptions","organizations_url":"https://api.github.com/users/ctrueden/orgs","repos_url":"https://api.github.com/users/ctrueden/repos","events_url":"https://api.github.com/users/ctrueden/events{/privacy}","received_events_url":"https://api.github.com/users/ctrueden/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-06-12T16:33:04Z","updated_at":"2015-03-23T16:05:53Z","closed_at":"2015-03-23T16:05:53Z","body":"Depends on https://github.com/scijava/scijava-common/issues/83\r\n\r\nWe already have cases of competing `LogServices`, e.g. the `DefaultLogService` and `SLF4J`. It is becoming clear that there is a need for additional logging functionality, for example in the legacy layer we would like to pass error messages and exceptions to `IJ.log` or `IJ.handleException` functionality.\r\n\r\nHowever this is not possible at the moment without competing with other `LogService` implementations.\r\n\r\nOnce we can differentiate consuming and non-consuming `Handler`s, though, we can refactor the `DefaultLogService` to use non-consuming `Handler` plugins. Then whichever implementations are present can log a given event as appropriate."}}