antikythera

v0.4.0

  • Pages
  • Modules
  • Mix Tasks

    antikythera v0.4.0 AntikytheraCore.GearLog.LogRotation View Source

    A Module to write and rotate a log file using AntikytheraCore.GearLog.FileHandle.

    Link to this section Summary

    Functions

    init(interval, file_path, opts \\ [])
    rotate(state)
    terminate(arg0)
    write_log(state, log)

    Link to this section Functions

    Link to this function

    init(interval, file_path, opts \\ [])

    View Source

    Specs

    init(non_neg_integer(), Path.t(), Keyword.t()) ::
      AntikytheraCore.GearLog.LogRotation.State.t()
    Link to this function

    rotate(state)

    View Source

    Specs

    rotate(AntikytheraCore.GearLog.LogRotation.State.t()) ::
      AntikytheraCore.GearLog.LogRotation.State.t()
    Link to this function

    terminate(arg0)

    View Source

    Specs

    terminate(AntikytheraCore.GearLog.LogRotation.State.t()) :: :ok
    Link to this function

    write_log(state, log)

    View Source

    Specs

    write_log(
      AntikytheraCore.GearLog.LogRotation.State.t(),
      AntikytheraCore.GearLog.Message.t()
    ) :: AntikytheraCore.GearLog.LogRotation.State.t()

    Built using ExDoc (v0.22.2), designed by Friedel Ziegelmayer for the Elixir programming language.