mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(irc): manually re-process announces (#1419)
* fix(releases): add manual processing * feat(irc): add re-process button to channel msg * feat(irc): add missing client method * feat(web): change reprocess icon placement --------- Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
parent
d9fc163655
commit
be05ffba73
15 changed files with 306 additions and 18 deletions
|
@ -29,6 +29,8 @@ type Logger interface {
|
|||
With() zerolog.Context
|
||||
RegisterSSEWriter(sse *sse.Server)
|
||||
SetLogLevel(level string)
|
||||
Printf(format string, v ...interface{})
|
||||
Print(v ...interface{})
|
||||
}
|
||||
|
||||
// DefaultLogger default logging controller
|
||||
|
@ -144,6 +146,18 @@ func (l *DefaultLogger) Trace() *zerolog.Event {
|
|||
return l.log.Trace().Timestamp()
|
||||
}
|
||||
|
||||
// Print sends a log event using debug level and no extra field.
|
||||
// Arguments are handled in the manner of fmt.Print.
|
||||
func (l *DefaultLogger) Print(v ...interface{}) {
|
||||
l.log.Print(v...)
|
||||
}
|
||||
|
||||
// Printf sends a log event using debug level and no extra field.
|
||||
// Arguments are handled in the manner of fmt.Printf.
|
||||
func (l *DefaultLogger) Printf(format string, v ...interface{}) {
|
||||
l.log.Printf(format, v...)
|
||||
}
|
||||
|
||||
// With log with context
|
||||
func (l *DefaultLogger) With() zerolog.Context {
|
||||
return l.log.With().Timestamp()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue