Packagecom.aispeech.log
Classpublic class ASSDKLogBase
InheritanceASSDKLogBase Inheritance Object
Subclasses ASSDKReadyLog, ASSDKStartLog, ConnectionLog, CoreRequesterLog, LatencyLog, MicrophoneDeviceLog, RecorderLog, UrlListServiceLog

ASSDK log base class maintain unique logId, and toString method ASSDKLogBase automatically collect the following log info for each log instance
         logId
         applicationId
         source
         tsLog
     



Public Properties
 PropertyDefined By
  LOG_SERVICE_URL : String = http://log.aispeech.com/sdk-monitor/sdklog
[static]
ASSDKLogBase
Protected Properties
 PropertyDefined By
  _logObject : Object
ASSDKLogBase
Public Methods
 MethodDefined By
  
ASSDKLogBase(logId:String, applicationId:String)
Constructor Only ASSDKStartLog calls ASSDKLogBase with parameters logId and appId, as to initialise the whole serial of log The rest ASSDKLogBase childern classes call this without parameters
ASSDKLogBase
  
getTimeStamp():String
[static]
ASSDKLogBase
  
send():void
ASSDKLogBase
  
toString():String
ASSDKLogBase
Protected Methods
 MethodDefined By
  
addLog(name:String, value:String):void
ASSDKLogBase
  
getLog(name:String):String
ASSDKLogBase
  
hasLog(name:String):Boolean
ASSDKLogBase
Property Detail
_logObjectproperty
protected var _logObject:Object

LOG_SERVICE_URLproperty 
public static var LOG_SERVICE_URL:String = http://log.aispeech.com/sdk-monitor/sdklog

Constructor Detail
ASSDKLogBase()Constructor
public function ASSDKLogBase(logId:String, applicationId:String)

Constructor Only ASSDKStartLog calls ASSDKLogBase with parameters logId and appId, as to initialise the whole serial of log The rest ASSDKLogBase childern classes call this without parameters

Parameters
logId:String — default ""
 
applicationId:String — default ""
Method Detail
addLog()method
protected function addLog(name:String, value:String):void

Parameters

name:String
 
value:String

getLog()method 
protected function getLog(name:String):String

Parameters

name:String

Returns
String
getTimeStamp()method 
public static function getTimeStamp():String

Returns
String — milliseconds since 1970-01-01 00:00:00
hasLog()method 
protected function hasLog(name:String):Boolean

Parameters

name:String

Returns
Boolean
send()method 
public function send():void

toString()method 
public function toString():String

Returns
String