It’s still not possible to create a template for Libraries. We can choose between a Process and a Test Automation type of template only.
You can use workaround like create a template boilerplate with all required log messages, arguments etc. and save it to central location like code repository, SharePoint, Sharedrive etc. Use this for every new development.