Aliyun_Log_Util

Copyright (C) Alibaba Cloud Computing All rights reserved

package

LOG_PHP_SDK

Methods

Calculate string $value MD5.

calMD5( $value) : string
static

Arguments

$value

Response

string

Get canonicalizedLOGHeaders string as defined.

canonicalizedLOGHeaders( $header) : string
static

Arguments

$header

Response

string

Get canonicalizedResource string as defined.

canonicalizedResource( $resource,  $params) : string
static

Arguments

$resource

$params

Response

string

Get the local machine ip address.

getLocalIp() : string
static

Response

string

Get request authorization string as defined.

getRequestAuthorization( $method,  $resource,  $key,  $stsToken,  $params,  $headers) : string
static

Arguments

$method

$resource

$key

$stsToken

$params

$headers

Response

string

Calculate string $content hmacSHA1 with secret key $key.

hmacSHA1( $content,  $key) : string
static

Arguments

$content

$key

Response

string

If $gonten is raw IP address, return true.

isIp( $gonten) : boolean
static

Arguments

$gonten

Response

boolean

Change $logGroup to bytes.

toBytes( $logGroup) : string
static

Arguments

$logGroup

Response

string

Get url encode.

urlEncode( $params) : string
static

Arguments

$params

Response

string

Get url encode.

urlEncodeValue( $value) : string
static

Arguments

$value

Response

string