Page MenuHomeDevCentral

Allow [Foo] Done something syntax for servers log
ClosedPublic

Authored by dereckson on Feb 28 2018, 22:14.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 07:30
Unknown Object (File)
Tue, Nov 5, 09:48
Unknown Object (File)
Mon, Nov 4, 07:37
Unknown Object (File)
Mon, Nov 4, 05:21
Unknown Object (File)
Wed, Oct 30, 08:59
Unknown Object (File)
Fri, Oct 25, 02:28
Unknown Object (File)
Oct 20 2024, 02:44
Unknown Object (File)
Oct 15 2024, 04:02
Subscribers
None

Details

Summary

Log entries syntax is "[component] message".

If a component is known, such syntax is directly allowed.
If a component is unknown, the user is invited to prepend .+log.

Test Plan

Tested with 21:44 < Dereckson> [Eglide] Prune libapache2-mod-php7.1.

Unit tests are provided for is_known_component.

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Feb 28 2018, 22:17
This revision was automatically updated to reflect the committed changes.