I watched the webinar about rio. RIO provide logging functions, logger creator and log options as some other logger package, such as monad-logger or fast-logger.
Does LogFunc generated by logOptionsHandle supports high performance logging?
logUseTime seems to work only for debug mode, because getZonedTime could slow down logging speed. Sometimes we may need record time for every log, so do you have any plans to improve this?
newLogFunc defines a standard format of log and provide fixed log parameters. Sometimes we need add opentracing or call context into log, for better tracing the call stack in process or between process. newLogFunc provides a formatted log, but i cannot extend it by adding new information. Then I have to create my own LogFunc.
Will you provide functions for rotating logger files?
I don't know the definition of high performance here, but it is intended to be fast.
I don't have plans to improve this, and it is intended for debug. In production usages, I would add the timestamps at the log collection agent.
I'm not sure if this is a question.
I don't have intention of providing such functions, as I consider that the responsibility of deployment code. I'm not opposed to an addition along those lines from others, or perhaps a rio-logging package add-on that provides more flexibility.
I watched the webinar about rio. RIO provide logging functions, logger creator and log options as some other logger package, such as
monad-logger
orfast-logger
.LogFunc
generated bylogOptionsHandle
supports high performance logging?logUseTime
seems to work only for debug mode, becausegetZonedTime
could slow down logging speed. Sometimes we may need record time for every log, so do you have any plans to improve this?newLogFunc
defines a standard format of log and provide fixed log parameters. Sometimes we need addopentracing
orcall context
into log, for better tracing the call stack in process or between process.newLogFunc
provides a formatted log, but i cannot extend it by adding new information. Then I have to create my ownLogFunc
.