# Factory

final class Factory

## Methods

static Factory
getInstance()

No description

static void
use(string $class, array $options = [])

Use custom handler

static void
write(string $type, string $value_id, string $location, string $message, string $submod = '', string $action = '')

Write new log record

static string
read(object|null $formatter = null)

No description

static
truncate()

No description

static
download()

No description

## Details

###
at line 28
`static Factory getInstance()`

No description

#### Return Value

Factory |

###
at line 44
`static void use(string $class, array $options = [])`

Use custom handler

#### Parameters

string | $class |
array | $options |

#### Return Value

void |

###
at line 63
`static void write(string $type, string $value_id, string $location, string $message, string $submod = '', string $action = '')`

Write new log record

#### Parameters

string | $type |
string | $value_id |
string | $location |
string | $message |
string | $submod |
string | $action |

#### Return Value

void |

###
at line 71
`static string read(object|null $formatter = null)`

No description

#### Parameters

object|null | $formatter |

#### Return Value

string |

###
at line 77
`static truncate()`

No description

###
at line 82
`static download()`

No description