예제 #1
0
 def send(self, s):
     if len(s) <= self.chunk_size:
         DatagramHandler.send(self, s)
     else:
         chunks = gelf.split(s, self.chunk_size)
         for chunk in chunks:
             DatagramHandler.send(self, chunk)
예제 #2
0
파일: handlers.py 프로젝트: tinedel/pygelf
 def send(self, s):
     if len(s) <= self.chunk_size:
         DatagramHandler.send(self, s)
     else:
         chunks = gelf.split(s, self.chunk_size)
         for chunk in chunks:
             DatagramHandler.send(self, chunk)
예제 #3
0
파일: handler.py 프로젝트: praseodym/graypy
 def send(self, s):
     if len(s) < self.chunk_size:
         DatagramHandler.send(self, s)
     else:
         for chunk in ChunkedGELF(s, self.chunk_size):
             DatagramHandler.send(self, chunk)
예제 #4
0
파일: handler.py 프로젝트: colinn/graypy
 def send(self, s):
     if len(s) < self.chunk_size:
         DatagramHandler.send(self, s)
     else:
         for chunk in ChunkedGELF(s, self.chunk_size):
             DatagramHandler.send(self, chunk)