Class: Gitlab::AppTextLogger
- Inherits:
-
Logger
- Object
- Logger
- Logger
- Gitlab::AppTextLogger
show all
- Defined in:
- lib/gitlab/app_text_logger.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Logger
build, cache_key, debug, error, file_name, full_log_path, info, log_level, read_latest, warn
Class Method Details
.file_name_noext ⇒ Object
5
6
7
|
# File 'lib/gitlab/app_text_logger.rb', line 5
def self.file_name_noext
'application'
end
|
Instance Method Details
9
10
11
|
# File 'lib/gitlab/app_text_logger.rb', line 9
def format_message(severity, timestamp, progname, msg)
"#{timestamp.utc.iso8601(3)}: #{msg}\n"
end
|