navi-0.1: A utility program for sending system notifications.
Safe HaskellSafe-Inferred
LanguageGHC2021

Navi.Data.NaviLog

Description

Provides the types for logging.

Synopsis

Documentation

data LogFile Source #

Data for file logging.

Since: 0.1

Constructors

MkLogFile 

Fields

Instances

Instances details
(k ~ A_Lens, a ~ IO (), b ~ IO ()) => LabelOptic "finalizer" k LogFile LogFile a b Source # 
Instance details

Defined in Navi.Data.NaviLog

(k ~ A_Lens, a ~ Handle, b ~ Handle) => LabelOptic "handle" k LogFile LogFile a b Source #

Since: 0.1

Instance details

Defined in Navi.Data.NaviLog

data LogEnv Source #

Holds logging env data.

Since: 0.1

Constructors

MkLogEnv 

Fields

Instances

Instances details
(k ~ A_Lens, a ~ Maybe LogFile, b ~ Maybe LogFile) => LabelOptic "logFile" k LogEnv LogEnv a b Source # 
Instance details

Defined in Navi.Data.NaviLog

(k ~ A_Lens, a ~ LogLevel, b ~ LogLevel) => LabelOptic "logLevel" k LogEnv LogEnv a b Source # 
Instance details

Defined in Navi.Data.NaviLog

(k ~ A_Lens, a ~ Namespace, b ~ Namespace) => LabelOptic "logNamespace" k LogEnv LogEnv a b Source #

Since: 0.1

Instance details

Defined in Navi.Data.NaviLog