blob: 54f89547d946edcee9c8aeaf8d9ec418fd2e60f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package ln
// Action is a convenience helper for logging the "action" being performed as
// part of a log line.
//
// It is a convenience wrapper for the following:
//
// ln.Log(ctx, fer, f, ln.Action("writing frozberry sales reports to database"))
func Action(act string) Fer {
return F{"action": act}
}
|