Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message Configuration: Customize timestamp format #656

Open
FriedrichWeinmann opened this issue Feb 16, 2025 · 1 comment
Open

Message Configuration: Customize timestamp format #656

FriedrichWeinmann opened this issue Feb 16, 2025 · 1 comment

Comments

@FriedrichWeinmann
Copy link
Member

Currently the timestamp is fixed to HH:mm:ss.
This could be made configurable for personal preference.

@tjgruber
Copy link

tjgruber commented Mar 7, 2025

Hi @FriedrichWeinmann
Would it also be possible to include the -Target as part of the message displayed on console in addition to the timestamp format?

Example expected output to console:

[2025-03-07_14:53:29.123] [Initialize-MyScript] [Target] :: PSFramework module loaded and logging initialized successfully.

Would love to be able to format the output to console as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants