LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

feat(core): prefix logs with a timestamp

Open DrissiReda opened this issue 2 years ago • 2 comments

Description

Adds the possibility to prefix each line of log with a timestamp before pushing it to the log file.

Currently I only enabled it on rustserver, because that's what I used to test it. But it should work for everything else.

I pushed the modification to every file, but if #3745 is merged, I'll refactor my PR.

Fixes #3778

Type of change

  • [ ] Bug fix (a change which fixes an issue).
  • [x] New feature (change which adds functionality).
  • [ ] New Server (new server added).
  • [ ] Refactor (restructures existing code).
  • [ ] Comment update (typo, spelling, explanation, examples, etc).

Checklist

PR will not be merged until all steps are complete.

  • [x] This pull request links to an issue.
  • [x] This pull request uses the develop branch as its base.
  • [x] This pull request Subject follows the Conventional Commits standard.
  • [x] This code follows the style guidelines of this project.
  • [x] I have performed a self-review of my code.
  • [x] I have checked that this code is commented where required.
  • [x] I have provided a detailed with enough description of this PR.
  • [x] I have checked If documentation needs updating.

DrissiReda avatar Feb 17 '22 18:02 DrissiReda

Great idea!!

dgibbs64 avatar Apr 04 '22 20:04 dgibbs64

Great idea!!

You think it needs anything else to be merged?

DrissiReda avatar Apr 04 '22 20:04 DrissiReda

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Apr 01 '24 00:04 github-actions[bot]