Sha256: 0172ec042692374c23f9a5f9e1d7dbe674b567aeb63b5bed530387c58199d951
Contents?: true
Size: 256 Bytes
Versions: 5
Compression:
Stored size: 256 Bytes
Contents
class AuthorizationLogger < Logger AUTHORIZATION_SYSTEM_LOG_MSG_PREFIX = 'Auth |' def format_message(severity, timestamp, progname, msg) "#{AUTHORIZATION_SYSTEM_LOG_MSG_PREFIX} #{timestamp.to_formatted_s(:db)} #{severity} #{msg}\n" end end
Version data entries
5 entries across 5 versions & 1 rubygems