update micro to v3.1.3

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-01-19 21:56:26 +03:00
parent 65f36f637f
commit 7314f6829d
5 changed files with 178 additions and 46 deletions

View File

@@ -19,3 +19,10 @@ type storeKey struct{}
func Store(s store.Store) logger.Option {
return logger.SetOption(storeKey{}, s)
}
type serviceKey struct{}
// Service name to call logger service
func Service(n string) logger.Option {
return logger.SetOption(serviceKey{}, n)
}