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

Expose more metadata via Argparse.App #16

Closed
3 tasks done
Tracked by #17
nexushoratio opened this issue Feb 17, 2024 · 0 comments
Closed
3 tasks done
Tracked by #17

Expose more metadata via Argparse.App #16

nexushoratio opened this issue Feb 17, 2024 · 0 comments
Assignees

Comments

@nexushoratio
Copy link
Owner

nexushoratio commented Feb 17, 2024

  • Program name (get this from parser.prog)
  • Prebuilt platformdirs.PlatformDirs() (using prog name)
  • Can we remove duplication by passing in a configured appname and default output dir into log_mgr.activate() ?
@nexushoratio nexushoratio self-assigned this Feb 17, 2024
nexushoratio pushed a commit that referenced this issue Feb 17, 2024
nexushoratio pushed a commit that referenced this issue Feb 18, 2024
By calling *activate()* first, the equivalent will be registered in the root
logger.

Still a singleton, but slightly more control over it.

Issue #16.
nexushoratio pushed a commit that referenced this issue Feb 18, 2024
Allows for a single source of true for the name of the application and initial
log directory.

Issue #16.
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