Handbook
Glossary
parse-log-file ( service -- entries )
Vocabulary
logging
.
parser
Inputs
service
an
object
Outputs
entries
an
object
Definition
USING:
io.encodings.utf8
io.files
kernel
logging.server
;
IN:
logging.parser
:
parse-log-file
( service -- entries )
log-path
1
log#
dup
file-exists?
[
utf8
file-lines
parse-log
]
[
drop
f
]
if
;