<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22963">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">logging: Deprecate API log_set_print_filename<br><br>Let's flag the API as deprecated so that people start using<br>log_set_print_filename2() API instead, which has less ackward<br>behavior implications like changing the print status of category-hex.<br><br>Related: OS#5034<br>Change-Id: If9b6b322989536a12094e6105c3aabc84d8be24a<br>---<br>M include/osmocom/core/logging.h<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h</span><br><span>index 4361cad..01850c4 100644</span><br><span>--- a/include/osmocom/core/logging.h</span><br><span>+++ b/include/osmocom/core/logging.h</span><br><span>@@ -377,7 +377,7 @@</span><br><span> void log_set_print_extended_timestamp(struct log_target *target, int);</span><br><span> void log_set_print_timestamp(struct log_target *target, int);</span><br><span> void log_set_print_tid(struct log_target *target, int);</span><br><span style="color: hsl(0, 100%, 40%);">-void log_set_print_filename(struct log_target *target, int);</span><br><span style="color: hsl(120, 100%, 40%);">+void log_set_print_filename(struct log_target *target, int) OSMO_DEPRECATED("Use log_set_print_filename2() instead");</span><br><span> void log_set_print_filename2(struct log_target *target, enum log_filename_type lft);</span><br><span> void log_set_print_filename_pos(struct log_target *target, enum log_filename_pos pos);</span><br><span> void log_set_print_category(struct log_target *target, int);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22963">change 22963</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/22963"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If9b6b322989536a12094e6105c3aabc84d8be24a </div>
<div style="display:none"> Gerrit-Change-Number: 22963 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>