MXS-2014 Allow the header and footer to be adjusted

This commit is contained in:
Johan Wikman
2018-08-16 13:54:07 +03:00
parent 4388b8517e
commit 15bf481120
2 changed files with 45 additions and 5 deletions

View File

@ -34,6 +34,17 @@ public:
{
}
/**
* Set the identification, used in log header and footer.
* If not specified, the program name will be used.
*
* @param ident The identifying string.
*
* @attention The identification should be specified before the
* log is initialized.
*/
static void set_ident(const std::string& ident);
/**
* Write a message to the log
*