Application logger

This plugin might be used when the user needs to send logs from the worker with different severity levels. Moreover, the user might use this plugin to send raw messages to the RR STDERR.


RPC Interface

All methods accept a string (which will be logger) as a first argument and a bool placeholder for the second arg.

func (r *RPC) Error(in string, _ *bool) error {}

func (r *RPC) Info(in string, _ *bool) error {}

func (r *RPC) Warning(in string, _ *bool) error {}

func (r *RPC) Debug(in string, _ *bool) error {}

func (r *RPC) Log(in string, _ *bool) error {}

Methods represent severity levels. The Log method doesn't have severity and sends messages directly to the STDERR.

Edit this page