timestamp: xmlschema in nanoseconds

This commit is contained in:
Denis Knauf 2012-05-20 21:39:31 +02:00
parent 849eeba2b0
commit f06b2be077

View file

@ -7,7 +7,7 @@ class Semlogger::Writer < Semlogger::Output
end
def add severity, time, progname, data, tags, message
@logdev.write [severity, time, progname, data, tags, message].to_json+"\n"
@logdev.write [severity, time.xmlschema(9), progname, data, tags, message].to_json+"\n"
end
end