# Systemlog

class Systemlog extends Contract

## Methods

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

Write new data

Contract
read(object|null $datagrid = null)

Read log data

void
truncate()

Flush log data

void
download()

Download log as plain text etc

string
__toString()

No description

## Details

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

Write new data

#### Parameters

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

#### Return Value

void |

###
at line 15
`Contract read(object|null $datagrid = null)`

Read log data

#### Parameters

object|null | $datagrid |

#### Return Value

Contract |

###
at line 54
`void truncate()`

Flush log data

#### Return Value

void |

###
at line 59
`void download()`

Download log as plain text etc

#### Return Value

void |

###
at line 71
`string __toString()`

No description

#### Return Value

string |