-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sniffer #5
Comments
CLI argumenti:
Sve pod Linuxom. |
ghost
self-assigned this
Jan 1, 2019
Što si mislio pod 'logging?' |
https://docs.python.org/3/library/logging.html Za to postoji prilično standardna shema, kod importa: import logging
# ispod importa:
log = logging.getLogger(__name__) Onda na raznim mjestima u skripti npr: log.info('processing %s', neki_fits_file)
...
log.debug('skipping %s', neki_fits_file)
...
log.warning('cannot read headers in %s', neki_fits_file)
...
log.exception('unexpected error') |
bug fix, bila je neka greska u logici |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: