# Module cloudi_logger_lager

- Description
- Function Index
- Function Details

### CloudI Logger Lager Integration

.

Copyright © 2017-2021 Michael Truog

Version: 2.0.2 Dec 3 2021 17:15:33 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CloudI Logger Lager Integration

## Function Index

log/3 | #### Log without the parse transform and arguments. .
log/4 | #### Log without the parse transform. .
md/0 | #### Get lager metadata. .
md/1 | #### Set lager metadata. .
parse_transform/2 | #### Lager parse transform replacement for using CloudI logging. use {parse_transform, cloudi_logger_lager} as a compile option instead of {parse_transform, lager_transform} (e.g., -compile([{parse_transform, cloudi_logger_lager}]).).

## Function Details

### log/3

`log(Level::critical | alert | emergency | error | warning | notice | info | debug, Unknown::any(), Format::string()) -> ok`

#### Log without the parse transform and arguments.

### log/4

`log(Level::critical | alert | emergency | error | warning | notice | info | debug, MetaData::any(), Format::string(), Args::list()) -> ok`

#### Log without the parse transform.

### md/0

`md() -> [{atom(), any()}]`

#### Get lager metadata.

### md/1

`md(MetaData::[{atom(), any()}]) -> ok`

#### Set lager metadata.

### parse_transform/2

`parse_transform(Forms::[erl_parse:abstract_form() | erl_parse:form_info()], CompileOptions::[compile:option()]) -> [erl_parse:abstract_form() | erl_parse:form_info()]`

#### Lager parse transform replacement for using CloudI logging.

use {parse_transform, cloudi_logger_lager} as a compile option instead of {parse_transform, lager_transform} (e.g., -compile([{parse_transform, cloudi_logger_lager}]).)

Generated by EDoc