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

TID #011 Common Libs: Create a common library for both app and machine #4

Open
wants to merge 7 commits into
base: TID007-logging-dev
Choose a base branch
from

Conversation

loerac
Copy link
Owner

@loerac loerac commented Aug 28, 2020

Synopsis:

Having the same file path in both app and machine seems messy, better to have common library to store shared resources

Description:

The log file was hard coded into both the app and machine. If for some reason, this would be updated in the future, we would have to update it on both sides

Test:

Both app and machine are still logging to the same file location.
image

Copy link
Collaborator

@embunny96 embunny96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, whenever I have a logger at work we include a current timestamp because it helps a lot in any case of troubleshooting. Just a thought.

@loerac
Copy link
Owner Author

loerac commented Sep 3, 2020

whenever I have a logger at work we include a current timestamp because it helps a lot in any case of troubleshooting

What do you mean by that @embunny96 ?

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

Successfully merging this pull request may close these issues.

2 participants