SeasLog::setLogger

Set SeasLog logger name

&reftitle.description; public static `bool` `SeasLog::setLogger` `string` `logger`

Use the Function `SeasLog::setLogger` will change the value of function `SeasLog::getLastLogger`. Than's mean, SeasLog will record loginfo into the logger directory.

&reftitle.parameters;

`logger`

- Logger name.

&reftitle.returnvalues;

Return TRUE on created logger disectory success, FALSE on failure.

&reftitle.examples;

### `SeasLog::setLogger` example

    <?php

    var_dump(SeasLog::setLogger('testModule/testLogger'));

    ?>

&example.outputs.similar;

    bool(true)

&reftitle.seealso;

- `SeasLog::getLastLogger`
- `SeasLog::closeLoggerStream`