update(doc): add example to QaqcMasterLog.parse_master_log

This commit is contained in:
Wataru Otsubo 2025-01-24 17:39:32 +09:00
parent 656848f850
commit dfde25a8dc

View file

@ -26,6 +26,14 @@ end
Parse master log. Parse master log.
If the `logfile` is empty, return `nothing`. If the `logfile` is empty, return `nothing`.
# Examples
```jldoctest
julia> PSBoardDataBase.QaqcMasterLog.parse_master_log("../test/input/log/57_long.log")
PSBoardDataBase.QaqcMasterLog.QaqcMasterLogMetadata(Dates.DateTime("2024-07-26T10:33:05"), 57, "Otsubo", v"1.0.2")
```
""" """
function parse_master_log(logfile::AbstractString) function parse_master_log(logfile::AbstractString)
open(logfile) do f open(logfile) do f