varneon / vudon-logger Goto Github PK
View Code? Open in Web Editor NEWRuntime logger for UdonSharp
License: MIT License
Runtime logger for UdonSharp
License: MIT License
Due to the subtlety of the divider between the log and the info sections, my brain keeps thinking that the into panel line is part of the logs and throws me off when I'm expecting certain log orders.
Reported by: @techanon
None of the following fields have any range or minimum value constraints, resulting in the end user being able to set any of them to negative or an invalid value.
This namespace is obsolete and was part of UdonEssentials.
Instead of Varneon.UdonPrefabs.RuntimeTools
it should be Varneon.VUdon.Logger
Right now the max increment is hardcoded to 10 as a constant, exposing the variable on a field in the inspector will allow the creator to change the increment to make the prefab more suitable for their use case.
Initialization of the UdonConsole is still located at Start(), moving the initialization to build postprocessing will fix this issue.
Closes #32
Some creators may prefer using other formats for the log timestamps than "yyyy.MM.dd HH:mm:ss", which right now is hardcoded:
Adding options to customize the format template and switching to an alternative time source such as instance time will allow for much more freedom and better serve the creators' specific needs.
So far I've noticed at least silver
and magenta
aren't being color converted properly.
Reference: https://docs.unity3d.com/2018.3/Documentation/Manual/StyledText.html
UdonSharp and ClientSim are now both included in the Worlds package within the "Integrations" folder.
Dependency to UdonSharp should be defined with com.vrchat.worlds >=3.4.0 <4.0.0
These lines
https://github.com/Varneon/VUdon-Logger/blob/0.4.0/Packages/com.varneon.vudon.logger/Editor/UdonConsoleEditor.cs#L39
https://github.com/Varneon/VUdon-Logger/blob/0.4.0/Packages/com.varneon.vudon.logger/Runtime/Udon%20Programs/UdonConsole.cs#L532
should call GetComponentInChildren(typeof(VRCUiShape), true)
instead of GetComponentInChildren<Canvas>(true)
to allow the UI to be placed under a custom canvas object without requiring nested canvases. The UiShape (and it's respective collider) is assumed to be the root element of all VRChat UI interactions anyways, so it is more reliable and allows flexibility with custom canvas setups.
UdonConsole currently prefixes all system messages with "[<color=#00FFFF>UdonConsole]:", some creators may prefer to customize this for their own worlds.
The period character .
(\u002E
) gets sanitized by VRChat into โค
(\u2024
), which causes the entries to be truncated at that character even when truncation isn't anywhere near of getting triggered by overflow.
This breaks the default console messages for player joins and leaves and any entries where attempting to log player names.
The proxyEntriesToLogs
field is never referenced in the script.
(Thanks to @KitKat4191 for bringing this up)
Reported by: @techanon
VUdon-Logger 0.4.0-alpha.3 depends on the Editors dependency, which is unavailable in the VUdon repository listing, only in the Experimental repository listing. Consider adding the Editors dependency to the other repo listing, or maybe publish just the releases that depend on experimental only to that repo listing until they reach a state that they can be moved out of experimental.
I ran into this issue due to trying to update to the latest of the logger, but I have pre-releases enabled for my other repository listing (cannot specify pre-release visibility on a per-listing basis unfortunately).
How do you exactly use this Im a bit confused. As I try Log only thing that pops up is Debug.Log and then I tried to ref the script I got the methods but its an abstract class.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.