prefix all log messages #16

Open
opened 2024-07-17 22:13:33 +02:00 by AliasAlreadyTaken · 1 comment

All output must be attributable to a mod. No

2024-07-17 22:08:59: WARNING[Server]: key all_good does not exist

Either it needs a log prefix or it needs to be between "mod X loading" and "mod X loaded"

All output must be attributable to a mod. No ``` 2024-07-17 22:08:59: WARNING[Server]: key all_good does not exist ``` Either it needs a log prefix or it needs to be between "mod X loading" and "mod X loaded"
Author
Owner
  1. Additionally we need to find a unified logging style. Currently there's a terrible mess going on, sometimes its
[MOD] modname function|chatcommand x did y with z result
[modname] z result
[MOD] x did y

any many more.

  1. Then we need a unified way of calling who sends commands, uses functions. "Player" ? "User" ? "Adventurer" ?

  2. WHERE do we log? At the beginning? At the end? Only in the successful actions branch?

  3. WHAT do we log? The input? The output?

I bet there's already someone smarter than I am out there with instructions AND reasoning.

2. Additionally we need to find a unified logging style. Currently there's a terrible mess going on, sometimes its ``` [MOD] modname function|chatcommand x did y with z result [modname] z result [MOD] x did y ``` any many more. 3. Then we need a unified way of calling who sends commands, uses functions. "Player" ? "User" ? "Adventurer" ? 4. WHERE do we log? At the beginning? At the end? Only in the successful actions branch? 5. WHAT do we log? The input? The output? I bet there's already someone smarter than I am out there with instructions AND reasoning.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/yl_template#16
No description provided.