-
Contributor
Hud.TextLog.Log
How many of you plugin writers know ITextLogController interface and Hud.TextLog.Log() methods?
I just bumped on it and for my data acquisition plugins this is a real saver as I can write directly to named files instead of single log file and filter data from there.
Of course you have to tail more files parallel but that's why we have multi cores running.
-
how did you logged previously?
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Contributor
Originally Posted by
KillerJohn
how did you logged previously?
Like this, tail program reading plugins_debug.txt and searcing for "\t|"
Code:
2019.04.04 18.46.37.639 2019.04.04 18.46.39.0562 PickItems 38 builds with 180 items
2019.04.04 18.46.37.640 2019.04.04 18.46.39.0572 OK
2019.04.04 18.46.37.888 2019.04.04 18.46.39.3048 BuildData 45 builds with 207 items
2019.04.04 18.46.38.488 2019.04.04 18.46.39.9051 |player|Barbarian|Kyllikki|
2019.04.04 18.47.19.342 2019.04.04 18.47.20.7594 |player|WitchDoctor|Mosquito|
2019.04.04 18.48.16.713 2019.04.04 18.48.18.1308 ***
NEW ATTRIBUTE mojo: "Damage_Percent_Bonus_Vs_Elites" mod=1048575
2019.04.04 18.48.16.715 2019.04.04 18.48.18.1328 ***
NEW ATTRIBUTE mojo: "Weapon_On_Hit_Knockback_Proc_Chance" mod=1048575
2019.04.04 18.52.10.470 2019.04.04 18.52.11.8868 |player|Barbarian|Kyllikki|
2019.04.04 18.55.27.147 2019.04.04 18.55.28.5642 |level|1554393328|1|T13|70|start|288482|False|True|GreaterRift|0|Rift Level 01|1143|18414421431959|0|0|0|
2019.04.04 18.55.46.302 2019.04.04 18.55.47.7190 Captured 17 screenshots
2019.04.04 18.55.59.096 2019.04.04 18.56.00.5140 Captured 16 screenshots
2019.04.04 18.56.10.869 2019.04.04 18.56.12.2857 Captured 13 screenshots
2019.04.04 18.56.14.453 2019.04.04 18.56.15.8703 Captured 3 screenshots
2019.04.04 18.56.14.589 2019.04.04 18.56.16.0063 Captured 1 screenshots
2019.04.04 18.56.23.613 2019.04.04 18.56.25.0305 Captured 4 screenshots
2019.04.04 18.56.33.258 2019.04.04 18.56.34.6759 Captured 17 screenshots
2019.04.04 18.56.37.274 2019.04.04 18.56.38.6922 Captured 2 screenshots
2019.04.04 18.56.42.113 2019.04.04 18.56.43.5303 Captured 9 screenshots
2019.04.04 18.56.49.132 2019.04.04 18.56.50.5488 |level|1554393410|1|T13|70|level|288684|False|True|GreaterRift|512|Rift Level 02|1143|18419207314647|0|0|0|
2019.04.04 18.56.59.777 2019.04.04 18.57.01.1951 Captured 8 screenshots
2019.04.04 18.57.02.945 2019.04.04 18.57.04.3625 Captured 3 screenshots
2019.04.04 18.57.14.262 2019.04.04 18.57.15.6797 Captured 4 screenshots
2019.04.04 18.57.24.932 2019.04.04 18.57.26.3494 |level|1554393446|1|T13|70|boss|288684|False|True|GreaterRift|650|Rift Level 02|1143|18420592788605|0|0|0|
2019.04.04 18.57.24.951 2019.04.04 18.57.26.3685 |monster|26290|70|False|Returned Executioner|1,25|50454388736|63286030336|8|
2019.04.04 18.57.24.952 2019.04.04 18.57.26.3695 |monster|26356|70|False|Dark Summoner|0,75|39721046016|39721046016|1|
2019.04.04 18.57.24.953 2019.04.04 18.57.26.3705 |monster|26427|70|False|Ravenous Dead|0,6|29382846464|38623588352|68|
2019.04.04 18.57.24.954 2019.04.04 18.57.26.3715 |monster|26255|70|False|Returned Shieldman|0,56|28072970240|37764112384|3|
2019.04.04 18.57.24.954 2019.04.04 18.57.26.3715 |monster|26030|70|False|Grotesque|1,75|67710337024|118574514176|26|
2019.04.04 18.57.24.955 2019.04.04 18.57.26.3725 |monster|26037|70|False|Imp|0,2|12202539008|25518184448|4|
2019.04.04 18.57.24.956 2019.04.04 18.57.26.3725 |monster|26188|70|False|Corpse Worm|0,3|19348056064|28582922240|41|
2019.04.04 18.57.24.956 2019.04.04 18.57.26.3735 |monster|26268|70|False|Returned Archer|0,54|25195542528|36755750912|6|
2019.04.04 18.57.24.957 2019.04.04 18.57.26.3745 |monster|262145|70|False|Punisher|5,5|215998824448|217024937984|2|
2019.04.04 18.57.24.957 2019.04.04 18.57.26.3745 |monster|284742|70|True|Revenant Shield Guard|1,25|271712485376|330451845120|5|
2019.04.04 18.57.24.958 2019.04.04 18.57.26.3755 |monster|26185|70|True|Lacuni Stalker|1,3|276621885440|327984381952|4|
2019.04.04 18.57.24.959 2019.04.04 18.57.26.3755 |monster|148830|70|True|Fallen Master|3|667400929280|667400929280|1|
2019.04.04 18.57.24.960 2019.04.04 18.57.26.3765 |monster|432980|70|True|Hive Mother|3,5|693140520960|693140520960|1|
2019.04.04 18.57.24.960 2019.04.04 18.57.26.3775 |monster|409677|70|True|Glowing Death|0,3|224547700736|286579851264|8|
2019.04.04 18.57.24.961 2019.04.04 18.57.26.3785 |monster|26286|70|False|Returned|0,56|28344971264|38599958528|5|
2019.04.04 18.57.24.961 2019.04.04 18.57.26.3785 |monster|26284|70|False|Returned Summoner|1|63875411968|63875411968|1|
2019.04.04 18.57.24.962 2019.04.04 18.57.26.3795 |monster|26431|70|False|Hungry Corpse|0,96|55009816576|67333259264|2|
2019.04.04 18.57.24.963 2019.04.04 18.57.26.3805 Time: 70: GreaterRift = 1:58
2019.04.04 18.58.08.738 2019.04.04 18.58.10.1555 LOOT: 70: GreaterRift Gold +1,2 M C-Mat +53 Gem +5 B-Shard +337 in 2:42 avg 2:42 (1)
2019.04.04 18.58.15.239 2019.04.04 18.58.16.6557 |level|1554393496|1|T13|70|bonus|332339|True|False|None|0|New Tristram|1143|18429674209469|0|0|0|
2019.04.04 18.58.15.240 2019.04.04 18.58.16.6567 |level|1554393496|1|T13|70|total|288482|True|False|None|0|Rift Level 01|1143|18429674209469|0|0|0|
It is quite convenient as I read only one file.
My tail looks like this:
My tail - Album on Imgur
-
Contributor
As I said in one of my posts only way to output from THUD is writing to log files or pixels.
Maybe you should add some random delay to log writes to prevent using it as a command channel.
-
command channel ?
what tail means?
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
ok, I was enlightened what is this for...
FYI in the future, all log outputs will be randomly delayed.
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Post Thanks / Like - 1 Thanks
JarJarD3 (1 members gave Thanks to KillerJohn for this useful post)