Documentation
¶
Index ¶
- Constants
- Variables
- type Config
- type RxJournal
- func (j *RxJournal) Close() error
- func (j *RxJournal) CollectAndTransferExistedLogs()
- func (j *RxJournal) Error(event string, req []byte, res []byte, err error) error
- func (j *RxJournal) Info(event string, req []byte, res []byte) error
- func (j *RxJournal) Log(level entry.Level, event string, req []byte, res []byte, err error) error
- func (j *RxJournal) ReceiveConfiguration(loggerConfig Config, moduleName string)
- func (j *RxJournal) Rotate() error
- func (j *RxJournal) SubscribeToRotationSignal() (event string, f func(_ []byte))
- func (j *RxJournal) Warn(event string, req []byte, res []byte, err error) error
Constants ¶
View Source
const (
RotationSignalEvent = "CONFIG:LOG_ROTATE"
)
Variables ¶
View Source
var (
ErrJournalClosed = errors.New("journal closed")
)
Functions ¶
This section is empty.
Types ¶
type RxJournal ¶
type RxJournal struct {
// contains filtered or unexported fields
}
func NewDefaultRxJournal ¶
func NewDefaultRxJournal(journalServiceClient *backend.RxGrpcClient) *RxJournal
func (*RxJournal) CollectAndTransferExistedLogs ¶
func (j *RxJournal) CollectAndTransferExistedLogs()
func (*RxJournal) ReceiveConfiguration ¶
func (*RxJournal) SubscribeToRotationSignal ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.