Metadata-Version: 2.1
Name: mac-logs
Version: 2018.11.20
Summary: ~/Library/Logs MacOS .log files
Home-page: https://github.com/looking-for-a-job/mac-logs.py
License: UNKNOWN
Keywords: logs
Platform: UNKNOWN
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
Requires-Dist: find
Requires-Dist: mac-colors
Requires-Dist: public
Requires-Dist: setuptools

[![](https://img.shields.io/badge/OS-MacOS-blue.svg?longCache=True)]()
[![](https://img.shields.io/pypi/pyversions/mac-logs.svg?longCache=True)](https://pypi.org/pypi/mac-logs/)

#### Install
```bash
$ [sudo] pip install mac-logs
```

#### Features
`~/Library/Logs` MacOS `.log` files

#### Functions
function|description
-|-
`mac_logs.errors()`|return list of `*err*.log` files (`stderr.log`, `err.log`, `error.log`, ...)
`mac_logs.logs(filenames=None, minsize=0)`|return list of `.log` files
`mac_logs.reveal()`|reveal `~/Library/Logs` in Finder
`mac_logs.rm(filenames=None, minsize=0)`|remove `.log` files
`mac_logs.tag()`|set Finder tag. `red` - not empty error logs, `none` - other logs

#### CLI
usage|description
-|-
`python -m mac_logs.tag`|set Finder tag. `red` - not empty error logs, `none` - other logs

<p align="center"><a href="https://pypi.org/project/readme-md/">readme-md</a> - README.md generator</p>

