OpenTelemetry PHP

SeverityNumber
in package

Possible values for LogRecord.SeverityNumber.

Protobuf type opentelemetry.proto.logs.v1.SeverityNumber

Table of Contents

Constants

SEVERITY_NUMBER_DEBUG  = 5
Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG = 5;</code>
SEVERITY_NUMBER_DEBUG2  = 6
Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG2 = 6;</code>
SEVERITY_NUMBER_DEBUG3  = 7
Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG3 = 7;</code>
SEVERITY_NUMBER_DEBUG4  = 8
Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG4 = 8;</code>
SEVERITY_NUMBER_ERROR  = 17
Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR = 17;</code>
SEVERITY_NUMBER_ERROR2  = 18
Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR2 = 18;</code>
SEVERITY_NUMBER_ERROR3  = 19
Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR3 = 19;</code>
SEVERITY_NUMBER_ERROR4  = 20
Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR4 = 20;</code>
SEVERITY_NUMBER_FATAL  = 21
Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL = 21;</code>
SEVERITY_NUMBER_FATAL2  = 22
Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL2 = 22;</code>
SEVERITY_NUMBER_FATAL3  = 23
Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL3 = 23;</code>
SEVERITY_NUMBER_FATAL4  = 24
Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL4 = 24;</code>
SEVERITY_NUMBER_INFO  = 9
Generated from protobuf enum <code>SEVERITY_NUMBER_INFO = 9;</code>
SEVERITY_NUMBER_INFO2  = 10
Generated from protobuf enum <code>SEVERITY_NUMBER_INFO2 = 10;</code>
SEVERITY_NUMBER_INFO3  = 11
Generated from protobuf enum <code>SEVERITY_NUMBER_INFO3 = 11;</code>
SEVERITY_NUMBER_INFO4  = 12
Generated from protobuf enum <code>SEVERITY_NUMBER_INFO4 = 12;</code>
SEVERITY_NUMBER_TRACE  = 1
Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE = 1;</code>
SEVERITY_NUMBER_TRACE2  = 2
Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE2 = 2;</code>
SEVERITY_NUMBER_TRACE3  = 3
Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE3 = 3;</code>
SEVERITY_NUMBER_TRACE4  = 4
Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE4 = 4;</code>
SEVERITY_NUMBER_UNSPECIFIED  = 0
UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
SEVERITY_NUMBER_WARN  = 13
Generated from protobuf enum <code>SEVERITY_NUMBER_WARN = 13;</code>
SEVERITY_NUMBER_WARN2  = 14
Generated from protobuf enum <code>SEVERITY_NUMBER_WARN2 = 14;</code>
SEVERITY_NUMBER_WARN3  = 15
Generated from protobuf enum <code>SEVERITY_NUMBER_WARN3 = 15;</code>
SEVERITY_NUMBER_WARN4  = 16
Generated from protobuf enum <code>SEVERITY_NUMBER_WARN4 = 16;</code>

Properties

$valueToName  : mixed

Methods

name()  : mixed
value()  : mixed

Constants

SEVERITY_NUMBER_DEBUG

Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG = 5;</code>

public mixed SEVERITY_NUMBER_DEBUG = 5

SEVERITY_NUMBER_DEBUG2

Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG2 = 6;</code>

public mixed SEVERITY_NUMBER_DEBUG2 = 6

SEVERITY_NUMBER_DEBUG3

Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG3 = 7;</code>

public mixed SEVERITY_NUMBER_DEBUG3 = 7

SEVERITY_NUMBER_DEBUG4

Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG4 = 8;</code>

public mixed SEVERITY_NUMBER_DEBUG4 = 8

SEVERITY_NUMBER_ERROR

Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR = 17;</code>

public mixed SEVERITY_NUMBER_ERROR = 17

SEVERITY_NUMBER_ERROR2

Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR2 = 18;</code>

public mixed SEVERITY_NUMBER_ERROR2 = 18

SEVERITY_NUMBER_ERROR3

Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR3 = 19;</code>

public mixed SEVERITY_NUMBER_ERROR3 = 19

SEVERITY_NUMBER_ERROR4

Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR4 = 20;</code>

public mixed SEVERITY_NUMBER_ERROR4 = 20

SEVERITY_NUMBER_FATAL

Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL = 21;</code>

public mixed SEVERITY_NUMBER_FATAL = 21

SEVERITY_NUMBER_FATAL2

Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL2 = 22;</code>

public mixed SEVERITY_NUMBER_FATAL2 = 22

SEVERITY_NUMBER_FATAL3

Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL3 = 23;</code>

public mixed SEVERITY_NUMBER_FATAL3 = 23

SEVERITY_NUMBER_FATAL4

Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL4 = 24;</code>

public mixed SEVERITY_NUMBER_FATAL4 = 24

SEVERITY_NUMBER_INFO

Generated from protobuf enum <code>SEVERITY_NUMBER_INFO = 9;</code>

public mixed SEVERITY_NUMBER_INFO = 9

SEVERITY_NUMBER_INFO2

Generated from protobuf enum <code>SEVERITY_NUMBER_INFO2 = 10;</code>

public mixed SEVERITY_NUMBER_INFO2 = 10

SEVERITY_NUMBER_INFO3

Generated from protobuf enum <code>SEVERITY_NUMBER_INFO3 = 11;</code>

public mixed SEVERITY_NUMBER_INFO3 = 11

SEVERITY_NUMBER_INFO4

Generated from protobuf enum <code>SEVERITY_NUMBER_INFO4 = 12;</code>

public mixed SEVERITY_NUMBER_INFO4 = 12

SEVERITY_NUMBER_TRACE

Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE = 1;</code>

public mixed SEVERITY_NUMBER_TRACE = 1

SEVERITY_NUMBER_TRACE2

Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE2 = 2;</code>

public mixed SEVERITY_NUMBER_TRACE2 = 2

SEVERITY_NUMBER_TRACE3

Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE3 = 3;</code>

public mixed SEVERITY_NUMBER_TRACE3 = 3

SEVERITY_NUMBER_TRACE4

Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE4 = 4;</code>

public mixed SEVERITY_NUMBER_TRACE4 = 4

SEVERITY_NUMBER_UNSPECIFIED

UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.

public mixed SEVERITY_NUMBER_UNSPECIFIED = 0

Generated from protobuf enum SEVERITY_NUMBER_UNSPECIFIED = 0;

SEVERITY_NUMBER_WARN

Generated from protobuf enum <code>SEVERITY_NUMBER_WARN = 13;</code>

public mixed SEVERITY_NUMBER_WARN = 13

SEVERITY_NUMBER_WARN2

Generated from protobuf enum <code>SEVERITY_NUMBER_WARN2 = 14;</code>

public mixed SEVERITY_NUMBER_WARN2 = 14

SEVERITY_NUMBER_WARN3

Generated from protobuf enum <code>SEVERITY_NUMBER_WARN3 = 15;</code>

public mixed SEVERITY_NUMBER_WARN3 = 15

SEVERITY_NUMBER_WARN4

Generated from protobuf enum <code>SEVERITY_NUMBER_WARN4 = 16;</code>

public mixed SEVERITY_NUMBER_WARN4 = 16

Properties

$valueToName

private static mixed $valueToName = [self::SEVERITY_NUMBER_UNSPECIFIED => 'SEVERITY_NUMBER_UNSPECIFIED', self::SEVERITY_NUMBER_TRACE => 'SEVERITY_NUMBER_TRACE', self::SEVERITY_NUMBER_TRACE2 => 'SEVERITY_NUMBER_TRACE2', self::SEVERITY_NUMBER_TRACE3 => 'SEVERITY_NUMBER_TRACE3', self::SEVERITY_NUMBER_TRACE4 => 'SEVERITY_NUMBER_TRACE4', self::SEVERITY_NUMBER_DEBUG => 'SEVERITY_NUMBER_DEBUG', self::SEVERITY_NUMBER_DEBUG2 => 'SEVERITY_NUMBER_DEBUG2', self::SEVERITY_NUMBER_DEBUG3 => 'SEVERITY_NUMBER_DEBUG3', self::SEVERITY_NUMBER_DEBUG4 => 'SEVERITY_NUMBER_DEBUG4', self::SEVERITY_NUMBER_INFO => 'SEVERITY_NUMBER_INFO', self::SEVERITY_NUMBER_INFO2 => 'SEVERITY_NUMBER_INFO2', self::SEVERITY_NUMBER_INFO3 => 'SEVERITY_NUMBER_INFO3', self::SEVERITY_NUMBER_INFO4 => 'SEVERITY_NUMBER_INFO4', self::SEVERITY_NUMBER_WARN => 'SEVERITY_NUMBER_WARN', self::SEVERITY_NUMBER_WARN2 => 'SEVERITY_NUMBER_WARN2', self::SEVERITY_NUMBER_WARN3 => 'SEVERITY_NUMBER_WARN3', self::SEVERITY_NUMBER_WARN4 => 'SEVERITY_NUMBER_WARN4', self::SEVERITY_NUMBER_ERROR => 'SEVERITY_NUMBER_ERROR', self::SEVERITY_NUMBER_ERROR2 => 'SEVERITY_NUMBER_ERROR2', self::SEVERITY_NUMBER_ERROR3 => 'SEVERITY_NUMBER_ERROR3', self::SEVERITY_NUMBER_ERROR4 => 'SEVERITY_NUMBER_ERROR4', self::SEVERITY_NUMBER_FATAL => 'SEVERITY_NUMBER_FATAL', self::SEVERITY_NUMBER_FATAL2 => 'SEVERITY_NUMBER_FATAL2', self::SEVERITY_NUMBER_FATAL3 => 'SEVERITY_NUMBER_FATAL3', self::SEVERITY_NUMBER_FATAL4 => 'SEVERITY_NUMBER_FATAL4']

Methods

name()

public static name(mixed $value) : mixed
Parameters
$value : mixed

value()

public static value(mixed $name) : mixed
Parameters
$name : mixed

        
On this page

Search results