Sandbox

From LabNation
Jump to: navigation, search

test

1234


<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>
        private void AndroidLoggerDequeuer()
        {
            Common.LogMessage l;
            while(logQueue.TryDequeue(out l))
            {
                switch(l.level) {
                    case Common.LogLevel.DEBUG:
                        Android.Util.Log.Debug(TAG, l.message);
                        break;
                    case Common.LogLevel.ERROR:
                        Android.Util.Log.Error(TAG, l.message);
                        break;
                    case Common.LogLevel.WARN:
                        Android.Util.Log.Warn(TAG, l.message);
                        break;
                    case Common.LogLevel.INFO:
                        Android.Util.Log.Info(TAG, l.message);
                        break;
                    default:
                        Android.Util.Log.Wtf(TAG, l.message);
                        break;
                }
            }
        }