Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Include milliseconds in logging timestamps

Open ns6089 opened this issue 6 months ago • 3 comments

Description

Include milliseconds in logging timestamps and improve formatting while at it. Should now give better idea how long individual steps take (shader compilation, encoder probing, etc).

Screenshot

Before

[2024:08:04:22:33:15]: Info: Sunshine version: 0.0.0.f8b0be1e

After

[2024-08-04 22:33:15.623] Info: Sunshine version: 0.0.0.f8b0be1e

Issues Fixed or Closed

Type of Change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Dependency update (updates to dependencies)
  • [ ] Documentation update (changes to documentation)
  • [ ] Repository update (changes to repository files, e.g. .github/...)

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

ns6089 avatar Aug 04 '24 20:08 ns6089