Homec4science

Allow using phlog() without initialization

Authored by Jakub Vrana <jakub@vrana.cz> on Apr 10 2013, 18:29.

Description

Allow using phlog() without initialization

Summary:
We call it in places where PhutilErrorHandler::initialize() wasn't called, e.g. in cache used in unit tests.
We can call the init on other places but this seems better as I see no reason why it must be initialized.

Also use time format available on Windows.

Test Plan:

phlog('It works!');

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5646

Details

Committed
Jakub Vrana <jakub@vrana.cz>Apr 10 2013, 18:29
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU39454f9dc5f7: Stop calling apc_store() with an array
Branches
Unknown
Tags
Unknown

Event Timeline

Jakub Vrana <jakub@vrana.cz> committed rPHUbdd1d292815e: Allow using phlog() without initialization (authored by Jakub Vrana <jakub@vrana.cz>).Apr 10 2013, 18:29