Skip to main content

~/Library/Logs MacOS .log files

Project description

Install

$ [sudo] pip install mac-logs

Features

~/Library/Logs MacOS .log files

Functions

function __doc__
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.rm(filenames=None, minsize=0) remove .log files
mac_logs.tag() set Finder tag. red - not empty error logs, none - other logs

CLI

usage __doc__
python -m mac_logs.tag set Finder tag. red - not empty error logs, none - other logs

readme-md - README.md generator

Supported by

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