X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fprofiler%2Foutput%2FProfilerOutput.php;h=bc14f4bf6879cf3a88b6f510327f4442815d221d;hb=529fc12d2ad2032337594389448fdb5b55802830;hp=fe27c046e707c481a937799b8f84fe1ca0a65239;hpb=58d70885d875a3928d96a2ca0a74dbc0ec5bb8bb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/output/ProfilerOutput.php b/includes/profiler/output/ProfilerOutput.php index fe27c046e7..bc14f4bf68 100644 --- a/includes/profiler/output/ProfilerOutput.php +++ b/includes/profiler/output/ProfilerOutput.php @@ -48,7 +48,7 @@ abstract class ProfilerOutput { } /** - * Does log() just send the data to the request/script output? + * May the log() try to write to standard output? * @return bool * @since 1.33 */ @@ -57,7 +57,10 @@ abstract class ProfilerOutput { } /** - * Log MediaWiki-style profiling data + * Log MediaWiki-style profiling data. + * + * For classes that enable logsToOutput(), this must not + * be called unless Profiler::setAllowOutput is enabled. * * @param array $stats Result of Profiler::getFunctionStats() */