mirror of
https://github.com/powerline/powerline.git
synced 2025-07-30 01:05:42 +02:00
Add other self.pl proxies
This commit is contained in:
parent
2c53378945
commit
340bdc7a51
@ -116,6 +116,15 @@ class ThreadedSegment(MultiRunnedThread):
|
||||
if not self.is_alive():
|
||||
self.start()
|
||||
|
||||
def critical(self, *args, **kwargs):
|
||||
self.pl.critical(prefix=self.__class__.__name__, *args, **kwargs)
|
||||
|
||||
def exception(self, *args, **kwargs):
|
||||
self.pl.exception(prefix=self.__class__.__name__, *args, **kwargs)
|
||||
|
||||
def info(self, *args, **kwargs):
|
||||
self.pl.info(prefix=self.__class__.__name__, *args, **kwargs)
|
||||
|
||||
def error(self, *args, **kwargs):
|
||||
self.pl.error(prefix=self.__class__.__name__, *args, **kwargs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user