diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-12-19 23:34:25 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-01-03 00:11:49 +0100 |
commit | 691ba52194e5b76a1da00a7e91d0370af69b4220 (patch) | |
tree | 255b3b00530d74142d5182ff3ac25f49d7810d9e /include/osmocom/gprs | |
parent | b0b39af1bc04b173575b8e2d6b717abc8daad32a (diff) |
add LOGPFSMSL(), LOGPFSMSLSRC()
Using an FSM instace's logging context is very useful. Sometimes it makes sense
to log something on a different logging category than the FSM definition's
default category.
For example, an MSC conn has aspects concerning MM, CC, RR, MGCP, ..., and
currently all of those log on DMM.
This came up in I358cfbaf0f44f25148e8b9bafcb9257b1952b35a, where I want to log
an MGCP event using a ran_conn context, and used the conn->fi->id. That of
course omits context like the current conn FSM state...
I remember at least one other place where I recently added logging using some
fi->id as context, so it might turn out useful in various places.
Change-Id: I11b182a03f5ecb6df7cd8f260757d3626c8e945d
Diffstat (limited to 'include/osmocom/gprs')
0 files changed, 0 insertions, 0 deletions