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

Possible to chain more files after already intializing a logger? #94

Closed
smahm006 opened this issue Feb 28, 2022 · 0 comments
Closed

Possible to chain more files after already intializing a logger? #94

smahm006 opened this issue Feb 28, 2022 · 0 comments

Comments

@smahm006
Copy link

Hello, I am building a test script in rust to test the hardware on some devices i own. The script starts off with creating a root logger in a logs/root folder and then scans the local network to find any of the devices to test. What I would like to do is after the devices are found, to create a new directory in the root folder for each device found and then create a device logger for each device found.

If you ask why I cannot create the logger after scanning for my devices, well I would like to log the devices found in the root logger.

It seems you cannot modify a logger once it has been initialized, but I'll ask anyways, is it possible to add extra chains to the initial Dispatch created?

@smahm006 smahm006 reopened this Jun 27, 2023
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

No branches or pull requests

1 participant