Page MenuHomeDevCentral

Allow [Foo] Done something syntax for servers log
ClosedPublic

Authored by dereckson on Feb 28 2018, 22:14.
Tags
None
Referenced Files
F10345275: D1366.id.diff
Tue, Jul 1, 05:44
F10342284: D1366.diff
Mon, Jun 30, 23:08
Unknown Object (File)
Fri, Jun 27, 09:11
Unknown Object (File)
Wed, Jun 25, 09:14
Unknown Object (File)
Mon, Jun 23, 15:21
Unknown Object (File)
Mon, Jun 23, 12:27
Unknown Object (File)
Mon, Jun 23, 12:24
Unknown Object (File)
Mon, Jun 23, 03:08
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.