Sandbox
Jump to navigation
Jump to search
test
1234
<syntaxhighlight lang="php">
<?php
$v = "string"; // sample initialization
?> html text <?
echo $v; // end of php code
?> </syntaxhighlight>
<syntaxhighlight lang="csharp">
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;
}
}
}
</syntaxhighlight>