DisableConsoleLogger not work #111
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I put DisableConsoleLogger(); before Init(); or after, but the result is the same on console:
[2021-03-17 17:31:42.372] [console] [info] LocalIP: 192.168.10.1 [device_discovery.cpp] [OnBroadcast] [201]
[2021-03-17 17:31:42.373] [console] [info] DeviceIP: 192.168.10.2 [device_discovery.cpp] [OnBroadcast] [202]
[2021-03-17 17:31:42.373] [console] [info] Command Port: 55501 [device_discovery.cpp] [OnBroadcast] [203]
[2021-03-17 17:31:42.373] [console] [info] Data Port: 56001 [device_discovery.cpp] [OnBroadcast] [204]
[2021-03-17 17:31:42.391] [console] [info] New Device [device_discovery.cpp] [OnData] [99]
[2021-03-17 17:31:42.393] [console] [info] Handle: 0 [device_discovery.cpp] [OnData] [100]
[2021-03-17 17:31:42.393] [console] [info] Broadcast Code: OTFxxxxxxxxxxxxxx[device_discovery.cpp] [OnData] [101]
[2021-03-17 17:31:42.393] [console] [info] Type: 1 [device_discovery.cpp] [OnData] [102]
[2021-03-17 17:31:42.394] [console] [info] IP: 192.168.10.2 [device_discovery.cpp] [OnData] [103]
[2021-03-17 17:31:42.394] [console] [info] Command Port: 55501 [device_discovery.cpp] [OnData] [104]
[2021-03-17 17:31:42.395] [console] [info] Data Port: 56001 [device_discovery.cpp] [OnData] [105]
[2021-03-17 17:31:42.396] [console] [info] Send Command: Set 0 Id 2 Seq 3 [command_channel.cpp] [Send] [243]
[2021-03-17 17:31:42.417] [console] [info] Recieve Ack: Set 0 Id 2 Seq 3 [command_handler.cpp] [OnCommand] [118]
[WARNING] Lidar sn: [xxxxxxxxxxxxxxx] Connect!!!
Hi @wrickout
DisableConsoleLogger() need to be called before Init();
And we have tested it on Windows 7/10 Ubuntu 16.04 and Mac OS.
Could you describes your test environment in detail.