You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @majidbigdeli, sorry for the late response but you already know how much I am deep into the upcoming release of iris:P
golog supports unlimited number of simultaneously output targets. with AddOutput(io.Writer) method. The easier thing I can think is that you can create an io.Writer that will save the p []byte parameter input to the database.
Like the _examples/multi-output/main.go does for os.File. And the good part is that colors are automatically removed from the log line if an output target is not a terminal instance*.
If that didn't help you or your use case requires a special feature to live inside the library itself regarding this matter please post below.
How can we save logs in the database? Like log4net in .NET
The text was updated successfully, but these errors were encountered: