[build] update gulp debug logger
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package ru.m.tankz;
|
||||
|
||||
import haxework.log.SocketLogger;
|
||||
import haxework.resources.Resources;
|
||||
import haxework.resources.IResources;
|
||||
import haxework.gui.VGroupView;
|
||||
@@ -31,6 +32,9 @@ class Client implements IConnectionHandler {
|
||||
#if flash
|
||||
L.push(new JSLogger());
|
||||
#end
|
||||
#if debug
|
||||
L.push(new SocketLogger());
|
||||
#end
|
||||
Const.init();
|
||||
L.d(TAG, "Debug: " + Const.DEBUG);
|
||||
L.i(TAG, "Version: " + Const.VERSION);
|
||||
|
||||
@@ -38,8 +38,11 @@ class Server extends ThreadServer<Session, Bytes> {
|
||||
|
||||
public static function main() {
|
||||
L.push(new TraceLogger());
|
||||
#if debug
|
||||
L.push(new SocketLogger());
|
||||
#end
|
||||
L.d(TAG, "Running");
|
||||
L.i(TAG, "Build: " + CompilationOption.get("build"));
|
||||
Provider.set(IPacketBuilder, new PacketBuilder());
|
||||
var wserver = new Server();
|
||||
wserver.run("localhost", 5001);
|
||||
|
||||
Reference in New Issue
Block a user