Skip to content

Danger plugin to detect any NSLog/print entries left in the code

License

Notifications You must be signed in to change notification settings

PGSSoft/danger-ios_logs

Repository files navigation

Travis Gem License

ios_logs

This is a danger plugin to detect any NSLog/print entries left in the code.

Ensure, by warning, there are no `NSLog`/`print` entries left in the modified code
ios_logs.check
Ensure, by fail, there are no `NSLog`/`print` entries left in the modified code
ios_logs.check :fail
Ensure, there are no `print` left in the modified code. Ignore `NSLog`
ios_logs.nslog = false
ios_logs.check

Attributes

nslog - Notify usage of NSLog. true by default

print - Notify usage of print. true by default

prints - List of print in changeset

nslogs - List of NSLog in changeset

logs - Combined list of both NSLog and print

Methods

check - Checks if in the changed code NSLog or print are used.

License

The project is available as open source under the terms of the MIT License.

About

The project maintained by software development agency PGS Software. See our other open-source projects or contact us to develop your product.

Follow us

Twitter URL
Twitter Follow

About

Danger plugin to detect any NSLog/print entries left in the code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages