{"action":"created","comment":{"url":"https://api.github.com/repos/brian-team/brian2/pulls/comments/50843161","id":50843161,"diff_hunk":"@@ -412,10 +414,10 @@ def spike_queue(self, source_start, source_end):\n         # Use the C++ version of the SpikeQueue when available\n         try:\n             from brian2.synapses.cythonspikequeue import SpikeQueue\n-            logger.info('Using the C++ SpikeQueue', once=True)\n+            logger.diagnostic('Using the C++ SpikeQueue', once=True)\n         except ImportError:\n             from brian2.synapses.spikequeue import SpikeQueue\n-            logger.info('Using the Python SpikeQueue', once=True)\n+            logger.diagnostic('Using the Python SpikeQueue', once=True)","path":"brian2/devices/device.py","position":53,"original_position":53,"commit_id":"0c57aa3dabda6c1d274bef9257d5de995be6d0e1","original_commit_id":"0c57aa3dabda6c1d274bef9257d5de995be6d0e1","user":{"login":"mstimberg","id":1381982,"avatar_url":"https://avatars.githubusercontent.com/u/1381982?v=3","gravatar_id":"","url":"https://api.github.com/users/mstimberg","html_url":"https://github.com/mstimberg","followers_url":"https://api.github.com/users/mstimberg/followers","following_url":"https://api.github.com/users/mstimberg/following{/other_user}","gists_url":"https://api.github.com/users/mstimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mstimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstimberg/subscriptions","organizations_url":"https://api.github.com/users/mstimberg/orgs","repos_url":"https://api.github.com/users/mstimberg/repos","events_url":"https://api.github.com/users/mstimberg/events{/privacy}","received_events_url":"https://api.github.com/users/mstimberg/received_events","type":"User","site_admin":false},"body":"Something like this good be a good idea (maybe just collect information about this in a documentation page and refer to that in the warning?) -- but I'd say let's open a new (post 2.0) issue about that. Somewhat related, I think it would be good to have a function that allows something like `print brian_configuration()` and would give you the codegen target, the spike queue, the version of Brian and its dependencies, etc. (similar to what we have in the log), for quick inspection.","created_at":"2016-01-26T14:48:28Z","updated_at":"2016-01-26T14:48:28Z","html_url":"https://github.com/brian-team/brian2/pull/634#discussion_r50843161","pull_request_url":"https://api.github.com/repos/brian-team/brian2/pulls/634","_links":{"self":{"href":"https://api.github.com/repos/brian-team/brian2/pulls/comments/50843161"},"html":{"href":"https://github.com/brian-team/brian2/pull/634#discussion_r50843161"},"pull_request":{"href":"https://api.github.com/repos/brian-team/brian2/pulls/634"}}},"pull_request":{"url":"https://api.github.com/repos/brian-team/brian2/pulls/634","id":57084783,"html_url":"https://github.com/brian-team/brian2/pull/634","diff_url":"https://github.com/brian-team/brian2/pull/634.diff","patch_url":"https://github.com/brian-team/brian2/pull/634.patch","issue_url":"https://api.github.com/repos/brian-team/brian2/issues/634","number":634,"state":"open","locked":false,"title":"[WIP] Log levels","user":{"login":"mstimberg","id":1381982,"avatar_url":"https://avatars.githubusercontent.com/u/1381982?v=3","gravatar_id":"","url":"https://api.github.com/users/mstimberg","html_url":"https://github.com/mstimberg","followers_url":"https://api.github.com/users/mstimberg/followers","following_url":"https://api.github.com/users/mstimberg/following{/other_user}","gists_url":"https://api.github.com/users/mstimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mstimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstimberg/subscriptions","organizations_url":"https://api.github.com/users/mstimberg/orgs","repos_url":"https://api.github.com/users/mstimberg/repos","events_url":"https://api.github.com/users/mstimberg/events{/privacy}","received_events_url":"https://api.github.com/users/mstimberg/received_events","type":"User","site_admin":false},"body":"This should basically implement everything we discussed in #407, the commit messages should give an overview over what changed. I made the commits quite small so it should be straightforward to revert single changes if we don't agree on them. The only thing missing from my side before merging is to update the developer documentation.\r\n\r\nCloses #407","created_at":"2016-01-25T15:22:57Z","updated_at":"2016-01-26T14:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"efecaf04160e0363b9796c67902d9acdf50ae228","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brian-team/brian2/pulls/634/commits","review_comments_url":"https://api.github.com/repos/brian-team/brian2/pulls/634/comments","review_comment_url":"https://api.github.com/repos/brian-team/brian2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brian-team/brian2/issues/634/comments","statuses_url":"https://api.github.com/repos/brian-team/brian2/statuses/0c57aa3dabda6c1d274bef9257d5de995be6d0e1","head":{"label":"brian-team:log_levels","ref":"log_levels","sha":"0c57aa3dabda6c1d274bef9257d5de995be6d0e1","user":{"login":"brian-team","id":2292949,"avatar_url":"https://avatars.githubusercontent.com/u/2292949?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-team","html_url":"https://github.com/brian-team","followers_url":"https://api.github.com/users/brian-team/followers","following_url":"https://api.github.com/users/brian-team/following{/other_user}","gists_url":"https://api.github.com/users/brian-team/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-team/subscriptions","organizations_url":"https://api.github.com/users/brian-team/orgs","repos_url":"https://api.github.com/users/brian-team/repos","events_url":"https://api.github.com/users/brian-team/events{/privacy}","received_events_url":"https://api.github.com/users/brian-team/received_events","type":"Organization","site_admin":false},"repo":{"id":6884056,"name":"brian2","full_name":"brian-team/brian2","owner":{"login":"brian-team","id":2292949,"avatar_url":"https://avatars.githubusercontent.com/u/2292949?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-team","html_url":"https://github.com/brian-team","followers_url":"https://api.github.com/users/brian-team/followers","following_url":"https://api.github.com/users/brian-team/following{/other_user}","gists_url":"https://api.github.com/users/brian-team/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-team/subscriptions","organizations_url":"https://api.github.com/users/brian-team/orgs","repos_url":"https://api.github.com/users/brian-team/repos","events_url":"https://api.github.com/users/brian-team/events{/privacy}","received_events_url":"https://api.github.com/users/brian-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brian-team/brian2","description":"Brian2 is an improved and partly rewritten version of Brian, the spiking neural network simulator (see http://briansimulator.org). It is currently in a beta state, ready for testing.","fork":false,"url":"https://api.github.com/repos/brian-team/brian2","forks_url":"https://api.github.com/repos/brian-team/brian2/forks","keys_url":"https://api.github.com/repos/brian-team/brian2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brian-team/brian2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brian-team/brian2/teams","hooks_url":"https://api.github.com/repos/brian-team/brian2/hooks","issue_events_url":"https://api.github.com/repos/brian-team/brian2/issues/events{/number}","events_url":"https://api.github.com/repos/brian-team/brian2/events","assignees_url":"https://api.github.com/repos/brian-team/brian2/assignees{/user}","branches_url":"https://api.github.com/repos/brian-team/brian2/branches{/branch}","tags_url":"https://api.github.com/repos/brian-team/brian2/tags","blobs_url":"https://api.github.com/repos/brian-team/brian2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brian-team/brian2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brian-team/brian2/git/refs{/sha}","trees_url":"https://api.github.com/repos/brian-team/brian2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brian-team/brian2/statuses/{sha}","languages_url":"https://api.github.com/repos/brian-team/brian2/languages","stargazers_url":"https://api.github.com/repos/brian-team/brian2/stargazers","contributors_url":"https://api.github.com/repos/brian-team/brian2/contributors","subscribers_url":"https://api.github.com/repos/brian-team/brian2/subscribers","subscription_url":"https://api.github.com/repos/brian-team/brian2/subscription","commits_url":"https://api.github.com/repos/brian-team/brian2/commits{/sha}","git_commits_url":"https://api.github.com/repos/brian-team/brian2/git/commits{/sha}","comments_url":"https://api.github.com/repos/brian-team/brian2/comments{/number}","issue_comment_url":"https://api.github.com/repos/brian-team/brian2/issues/comments{/number}","contents_url":"https://api.github.com/repos/brian-team/brian2/contents/{+path}","compare_url":"https://api.github.com/repos/brian-team/brian2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brian-team/brian2/merges","archive_url":"https://api.github.com/repos/brian-team/brian2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brian-team/brian2/downloads","issues_url":"https://api.github.com/repos/brian-team/brian2/issues{/number}","pulls_url":"https://api.github.com/repos/brian-team/brian2/pulls{/number}","milestones_url":"https://api.github.com/repos/brian-team/brian2/milestones{/number}","notifications_url":"https://api.github.com/repos/brian-team/brian2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brian-team/brian2/labels{/name}","releases_url":"https://api.github.com/repos/brian-team/brian2/releases{/id}","deployments_url":"https://api.github.com/repos/brian-team/brian2/deployments","created_at":"2012-11-27T13:46:43Z","updated_at":"2016-01-22T17:16:13Z","pushed_at":"2016-01-25T17:53:34Z","git_url":"git://github.com/brian-team/brian2.git","ssh_url":"git@github.com:brian-team/brian2.git","clone_url":"https://github.com/brian-team/brian2.git","svn_url":"https://github.com/brian-team/brian2","homepage":"","size":13140,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":118,"forks":23,"open_issues":118,"watchers":61,"default_branch":"master"}},"base":{"label":"brian-team:master","ref":"master","sha":"7c6580323b5aaf18450dd91f15012d8a45bea3a3","user":{"login":"brian-team","id":2292949,"avatar_url":"https://avatars.githubusercontent.com/u/2292949?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-team","html_url":"https://github.com/brian-team","followers_url":"https://api.github.com/users/brian-team/followers","following_url":"https://api.github.com/users/brian-team/following{/other_user}","gists_url":"https://api.github.com/users/brian-team/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-team/subscriptions","organizations_url":"https://api.github.com/users/brian-team/orgs","repos_url":"https://api.github.com/users/brian-team/repos","events_url":"https://api.github.com/users/brian-team/events{/privacy}","received_events_url":"https://api.github.com/users/brian-team/received_events","type":"Organization","site_admin":false},"repo":{"id":6884056,"name":"brian2","full_name":"brian-team/brian2","owner":{"login":"brian-team","id":2292949,"avatar_url":"https://avatars.githubusercontent.com/u/2292949?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-team","html_url":"https://github.com/brian-team","followers_url":"https://api.github.com/users/brian-team/followers","following_url":"https://api.github.com/users/brian-team/following{/other_user}","gists_url":"https://api.github.com/users/brian-team/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-team/subscriptions","organizations_url":"https://api.github.com/users/brian-team/orgs","repos_url":"https://api.github.com/users/brian-team/repos","events_url":"https://api.github.com/users/brian-team/events{/privacy}","received_events_url":"https://api.github.com/users/brian-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brian-team/brian2","description":"Brian2 is an improved and partly rewritten version of Brian, the spiking neural network simulator (see http://briansimulator.org). It is currently in a beta state, ready for testing.","fork":false,"url":"https://api.github.com/repos/brian-team/brian2","forks_url":"https://api.github.com/repos/brian-team/brian2/forks","keys_url":"https://api.github.com/repos/brian-team/brian2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brian-team/brian2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brian-team/brian2/teams","hooks_url":"https://api.github.com/repos/brian-team/brian2/hooks","issue_events_url":"https://api.github.com/repos/brian-team/brian2/issues/events{/number}","events_url":"https://api.github.com/repos/brian-team/brian2/events","assignees_url":"https://api.github.com/repos/brian-team/brian2/assignees{/user}","branches_url":"https://api.github.com/repos/brian-team/brian2/branches{/branch}","tags_url":"https://api.github.com/repos/brian-team/brian2/tags","blobs_url":"https://api.github.com/repos/brian-team/brian2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brian-team/brian2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brian-team/brian2/git/refs{/sha}","trees_url":"https://api.github.com/repos/brian-team/brian2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brian-team/brian2/statuses/{sha}","languages_url":"https://api.github.com/repos/brian-team/brian2/languages","stargazers_url":"https://api.github.com/repos/brian-team/brian2/stargazers","contributors_url":"https://api.github.com/repos/brian-team/brian2/contributors","subscribers_url":"https://api.github.com/repos/brian-team/brian2/subscribers","subscription_url":"https://api.github.com/repos/brian-team/brian2/subscription","commits_url":"https://api.github.com/repos/brian-team/brian2/commits{/sha}","git_commits_url":"https://api.github.com/repos/brian-team/brian2/git/commits{/sha}","comments_url":"https://api.github.com/repos/brian-team/brian2/comments{/number}","issue_comment_url":"https://api.github.com/repos/brian-team/brian2/issues/comments{/number}","contents_url":"https://api.github.com/repos/brian-team/brian2/contents/{+path}","compare_url":"https://api.github.com/repos/brian-team/brian2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brian-team/brian2/merges","archive_url":"https://api.github.com/repos/brian-team/brian2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brian-team/brian2/downloads","issues_url":"https://api.github.com/repos/brian-team/brian2/issues{/number}","pulls_url":"https://api.github.com/repos/brian-team/brian2/pulls{/number}","milestones_url":"https://api.github.com/repos/brian-team/brian2/milestones{/number}","notifications_url":"https://api.github.com/repos/brian-team/brian2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brian-team/brian2/labels{/name}","releases_url":"https://api.github.com/repos/brian-team/brian2/releases{/id}","deployments_url":"https://api.github.com/repos/brian-team/brian2/deployments","created_at":"2012-11-27T13:46:43Z","updated_at":"2016-01-22T17:16:13Z","pushed_at":"2016-01-25T17:53:34Z","git_url":"git://github.com/brian-team/brian2.git","ssh_url":"git@github.com:brian-team/brian2.git","clone_url":"https://github.com/brian-team/brian2.git","svn_url":"https://github.com/brian-team/brian2","homepage":"","size":13140,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":118,"forks":23,"open_issues":118,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brian-team/brian2/pulls/634"},"html":{"href":"https://github.com/brian-team/brian2/pull/634"},"issue":{"href":"https://api.github.com/repos/brian-team/brian2/issues/634"},"comments":{"href":"https://api.github.com/repos/brian-team/brian2/issues/634/comments"},"review_comments":{"href":"https://api.github.com/repos/brian-team/brian2/pulls/634/comments"},"review_comment":{"href":"https://api.github.com/repos/brian-team/brian2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brian-team/brian2/pulls/634/commits"},"statuses":{"href":"https://api.github.com/repos/brian-team/brian2/statuses/0c57aa3dabda6c1d274bef9257d5de995be6d0e1"}}}}