���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /usr/local/FlashphonerWebCallServer/client/examples/demo/rtmfp-client/streaming/src/ |
package { import flash.system.Capabilities; import flash.external.ExternalInterface; import mx.core.Application; import mx.core.FlexGlobals; public class Logger { [Bindable] public static var log:String = new String(); public function Logger() { } private static function getTime() : String { var dt : Date = new Date(); var str : String = 'UTC ' + dt.getUTCMonth() + '.' + dt.getUTCDate() + ' ' + dt.getUTCHours() + ':' + dt.getUTCMinutes() + ':' + dt.getUTCSeconds() + ': '; return str; } public static function info(str : String) : void { str = 'INFO: ' + getTime() + str; traceLog(str); log += str + '\n'; } public static function debug(str : String) : void { str = 'DEBUG: ' + getTime() + str; traceLog(str); log += str + '\n'; } public static function error(str : String) : void { str = 'ERROR: ' + getTime() + str; traceLog(str); log += str + '\n'; } public static function traceLog(str:String):void{ //FlexGlobals.topLevelApplication.console.text = FlexGlobals.topLevelApplication.console.text + str +"\n"; ExternalInterface.call("console.log", str); } } }