Skip to content

classes_essentials_logging_tracelogger.class

Daniel Spors edited this page Nov 11, 2020 · 2 revisions

Classes in file essentials/logging/tracelogger.class.php

class TraceLogger

Generates a machine readable log. Use WdfTracer to read these files. https://github.com/ScavixSoftware/WebFramework/tree/master/tools In fact writes a JSON encoded object per line that contains full tracing information.

Namespace: ScavixWDF\Logging

Extends: Logger

write

Writes a log entry.

Definition: public function write($severity=false, $log_trace=false, $a1=null, $a2=null, $a3=null, $a4=null, $a5=null, $a6=null, $a7=null, $a8=null, $a9=null, $a10=null)

Returns: void

Parameters:

  • string $severity Severity

  • bool $log_trace Ignored, will log trace always

  • mixed $a1 Data to be logged

  • mixed $a2 Data to be logged

  • mixed $a3 Data to be logged

  • mixed $a4 Data to be logged

  • mixed $a5 Data to be logged

  • mixed $a6 Data to be logged

  • mixed $a7 Data to be logged

  • mixed $a8 Data to be logged

  • mixed $a9 Data to be logged

  • mixed $a10 Data to be logged

Clone this wiki locally