<p>This could help to debug the reported slow startup times but is also useful in general.<br>
Starting Geany from the command line with <code>--verbose</code> already logs milliseconds. But most users (and maybe developers) usually don't do this.</p>
<p>Thanks to GLib, we don't need to do much for it and it actually simplifies the existing code.</p>
<p>Tested on ArchLinux and Windows 7.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2659'>https://github.com/geany/geany/pull/2659</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add microseconds to timestamp in debug log messages</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2659/files#diff-46b881d73b3e6407e73cdcc59cdaf1de4bb5a0122acf867cb88bdd28ca34ca45">src/log.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2659/files#diff-42b5b46e89c71a2aee5d52adee0a80fcfa424aad9a00c27a81118279bd64c69a">src/msgwindow.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2659/files#diff-3e04e056edbdc0f772b0ffd1c93cef1187209f37276d40d2a281d9b989398a73">src/utils.c</a>
    (23)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2659/files#diff-9022459f0ccbb7cf6daac6ecb5af4f37d240219981a8c23076c14c5f002f9c8c">src/utils.h</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2659.patch'>https://github.com/geany/geany/pull/2659.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2659.diff'>https://github.com/geany/geany/pull/2659.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2659">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2SKYK6BWLXABYWT4LSP7IL7ANCNFSM4TWGDI3Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3QTJJIF3NVV447FZTSP7IL7A5CNFSM4TWGDI32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LCNFVJA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2659",
"url": "https://github.com/geany/geany/pull/2659",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>