Skip to content

Commit

Permalink
Make "version" available in the logger object
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Mar 17, 2018
1 parent da50876 commit a18c74a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lokilogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import socket
from helpers import removeNonAsciiDrop

__version__ = '0.26.2'
__version__ = '0.27.0'

# Logger Class -----------------------------------------------------------------
class LokiLogger():
Expand All @@ -32,6 +32,7 @@ class LokiLogger():
linesep = "\n"

def __init__(self, no_log_file, log_file, hostname, remote_host, remote_port, csv, only_relevant, debug, platform, caller):
self.version = __version__
self.no_log_file = no_log_file
self.log_file = log_file
self.hostname = hostname
Expand Down

0 comments on commit a18c74a

Please sign in to comment.