Page MenuHomePhabricator

Provide a convenient way to log arbitrary text in Drydock without needing structured log classes
ClosedPublic

Authored by epriestley on Sep 14 2018, 4:25 PM.
Tags
None
Referenced Files
F18904667: D19674.diff
Sat, Nov 8, 10:28 AM
F18887157: D19674.id47027.diff
Fri, Nov 7, 5:43 AM
F18887155: D19674.id47014.diff
Fri, Nov 7, 5:43 AM
F18876803: D19674.diff
Thu, Nov 6, 3:45 AM
F18861480: D19674.id.diff
Sun, Nov 2, 3:48 PM
F18856939: D19674.diff
Sat, Nov 1, 12:17 PM
F18832671: D19674.id47027.diff
Sat, Oct 25, 10:30 PM
F18832670: D19674.id47014.diff
Sat, Oct 25, 10:30 PM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D19673. Ref T13197. See PHI873.

Test Plan

Added some code like this:

$operation->logText('Nice convenient text logging.');

...then got:

Screen Shot 2018-09-14 at 9.23.09 AM.png (976×1 px, 137 KB)

Diff Detail

Repository
rP Phabricator
Branch
dlog4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20825
Build 28327: Run Core Tests
Build 28326: arc lint + arc unit

Event Timeline

Owners added a subscriber: Restricted Owners Package.Sep 14 2018, 4:25 PM
amckinley added inline comments.
src/applications/drydock/logtype/DrydockTextLogType.php
3–10

What's the maximum amount of text you can dump into a log? Worth documenting here?

This revision is now accepted and ready to land.Sep 14 2018, 6:55 PM

I think any "reasonable" amount should be fine. Maybe I'm not being imaginative enough, of course...

This revision was automatically updated to reflect the committed changes.