ctl.plugins.log_user

Plugin that allows you to append user information to log messages

Classes


LogUserPlugin

LogUserPlugin(ctl.plugins.log.LogPlugin)

append user information to log messages

Instanced Attributes

These attributes / properties will be available on instances of the class

  • username (str): username

Methods

apply

def apply(self, message)

Augment log message with user information

Arguments

  • message (str): log message

Returns

Augmented log message (str)


init

def init(self)

called after the plugin is initialized, plugin may define this for any other initialization code