log2file

package module
v0.0.0-...-f2d1b3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 5 Imported by: 0

README

Golang Log2File

Module that initialize mainLogFile in a repository and renames previous one into backupLogFile. (Both names are set on creating options)

Routes

On standard port :40013 supports routes to check log files:

/logs/log_m - for main file

/logs/lob_b - for backup file

Installation

$ GO111MODULE=on go get github.com/Ferrany1/log2file
...
import (
  "github.com/Ferrany1/log2file" // imports as package "log2file"
)
...

Examples:

  1. Empty Options
  2. Custom Options

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StandardOptions

func StandardOptions() *options

Returns new LogFileOptions element

Types

This section is empty.

Directories

Path Synopsis
examples
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL