i'm using econ, any idea why on one server log messages look like this [econ]: cid=0 authed and on another server they look like this [01:48:53][econ]: cid=0 authed
01:53
(prefixed with current time)?
01:58
I'm trying to parse the log lines and I expected to see the same format on both servers (they are running the same server version)
And what log are you looking at exactly? There are multiple places where logs show up. Ingame console in the server console in stdout in the logfile and in the econ console are logs.
Every entry at the beginning has a value like [4ccc0913]. Is this a timestamp? If not what is it for? In my opinion there should be a formatted timestamp in the server log (or let it control with a...
Every entry at the beginning has a value like [4ccc0913]. Is this a timestamp? If not what is it for? In my opinion there should be a formatted timestamp in the server log (or let it control with a...
I'm not sure how to do that. I'm using /(.)]:\W?(.)/ to split messages like "[econ]: cid=0 authed" into "econ", "cid=0 authed" but when the timestamp exists i the first match is "12:08:39][econ"
Regex101 allows you to create, debug, test and have your expressions explained for PHP, PCRE, Python, Golang and JavaScript. The website also features a community where you can share useful expressions.
12:24
ignores the timestamp, gets the event type between [ and ], and the event data. I then process the event data with other regexes
Well currently we just let the OS do whatever it pleases, on macOS you first get the letter itself, then you get a composition event, then you get the accented version you chose
13:40
not to mention the accent menu is rendered on the top left, not above the text rectangle
13:41
idk what happens on windows and linux but I doubt it's much better
Just been looking at https://t.co/yCb7sgyJ3j’s new web Notes app, because I’m working on a mobile text editing component and I didn’t understand how they’d accomplished some things that are still causing me difficulties.
Turns out the text editing is done in WebGL.