Skip to main content

~/Library/Logs MacOS .log files

Project description

Install

$ [sudo] pip install mac-logs

Features

~/Library/Logs MacOS .log files

Examples

logs(filenames=None, minsize=0) - find .log files

>>> import mac_logs
>>> mac_logs.logs()
>>> mac_logs.logs(filenames=["error.log","err.log","stderr.log"])
>>> mac_logs.logs(minsize=1)

errors() - find not empty *err*.log files

>>> mac_logs.errors()

rm(filenames=None, minsize=0) - remove .log files

>>> mac_logs.rm()

set Finder tags (red if err, none otherwhise)

>>> mac_logs.tag()
$ python -m mac_logs.tag

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac-logs-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

mac_logs-0.0.1-py2.py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page