Current section
Files
Jump to
Current section
Files
lib/telemetry_data.ex
defmodule TelemetryData do
@moduledoc """
Log pattern analysis tool supporting Morgan, Java, Elixir, and Nginx log formats.
"""
alias TelemetryData.FileReader
@doc """
Parse a log file and return structured entries.
## Examples
{:ok, entries} = TelemetryData.parse_file("logs/app.log")
"""
defdelegate parse_file(path), to: FileReader, as: :read_file
@doc """
Parse all log files in a directory.
"""
defdelegate parse_dir(path), to: FileReader, as: :read_dir
end