Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Message ¶
Message returns a `zap.Field` object. It is a convenience method that allows you to easily add message contents to any log entries you create using Zap:
logger.Error(":boom:", streamlog.Message(msg))
For simplicity and consistency, the field key cannot be changed. It will always be set to `streamMessage`. If you want to change this field, you can implement your own marshaller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.