<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22963">View Change</a></p><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;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/63/22963/1</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 c7f89de..165b311 100644</span><br><span>--- a/include/osmocom/core/logging.h</span><br><span>+++ b/include/osmocom/core/logging.h</span><br><span>@@ -374,7 +374,7 @@</span><br><span> void log_set_use_color(struct log_target *target, int);</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 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_OUTSIDE_LIBOSMOCORE;</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: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>