{"action":"created","issue":{"url":"https://api.github.com/repos/gabime/spdlog/issues/91","labels_url":"https://api.github.com/repos/gabime/spdlog/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/gabime/spdlog/issues/91/comments","events_url":"https://api.github.com/repos/gabime/spdlog/issues/91/events","html_url":"https://github.com/gabime/spdlog/issues/91","id":74494810,"number":91,"title":"async logger periodic flush","user":{"login":"divaykin","id":331169,"avatar_url":"https://avatars.githubusercontent.com/u/331169?v=3","gravatar_id":"","url":"https://api.github.com/users/divaykin","html_url":"https://github.com/divaykin","followers_url":"https://api.github.com/users/divaykin/followers","following_url":"https://api.github.com/users/divaykin/following{/other_user}","gists_url":"https://api.github.com/users/divaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/divaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divaykin/subscriptions","organizations_url":"https://api.github.com/users/divaykin/orgs","repos_url":"https://api.github.com/users/divaykin/repos","events_url":"https://api.github.com/users/divaykin/events{/privacy}","received_events_url":"https://api.github.com/users/divaykin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-08T21:04:47Z","updated_at":"2015-05-09T12:54:18Z","closed_at":null,"body":"@gabime what do you think of periodical flush (on timer basis) in async worker? what's the best API to configure it?"},"comment":{"url":"https://api.github.com/repos/gabime/spdlog/issues/comments/100478286","html_url":"https://github.com/gabime/spdlog/issues/91#issuecomment-100478286","issue_url":"https://api.github.com/repos/gabime/spdlog/issues/91","id":100478286,"user":{"login":"divaykin","id":331169,"avatar_url":"https://avatars.githubusercontent.com/u/331169?v=3","gravatar_id":"","url":"https://api.github.com/users/divaykin","html_url":"https://github.com/divaykin","followers_url":"https://api.github.com/users/divaykin/followers","following_url":"https://api.github.com/users/divaykin/following{/other_user}","gists_url":"https://api.github.com/users/divaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/divaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divaykin/subscriptions","organizations_url":"https://api.github.com/users/divaykin/orgs","repos_url":"https://api.github.com/users/divaykin/repos","events_url":"https://api.github.com/users/divaykin/events{/privacy}","received_events_url":"https://api.github.com/users/divaykin/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T12:54:18Z","updated_at":"2015-05-09T12:54:18Z","body":"somewhere here https://github.com/gabime/spdlog/blob/master/include/spdlog/details/async_log_helper.h#L284 is a good place to do a flush. the only question is - what's the best way to set timespan length (X milliseconds)? with tweakme or yet another parameter of async logger?"}}