-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Purpose
Be able to identify when log messages are written to the log.
Method
Provide a "current runtime" timestamp in the log output:
Maybe something like:
// log.h
cnLog_Print(system, verbosity, \
"%15s %c: %40s:%i %15s SYS_%-10s: " msg " \n", \
formattedTimeStamp, \
LogVerbosityChar[verbosity], \
__FILE__, __LINE__, \
LogSystemsRegistered[system], \
##__VA_ARGS__ \
);cnTime_Initshould initialize the reference time- Provide a function to format the current time into a fixed-width "hours:minutes:seconds.microseconds"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels