Login +

Documentation

SLS_Tracing::addTrace

Since SillySmart 1.0

Description

Add a trace in the application :- If server is in production, we write into the logs- If server is in development, output is used
static addTrace ( Exception $exception, [ bool $stack ] , [ string $complementary ] );

Parameters

  • Exception $exception
    the raised exception contained the message to trace
  • bool $stack
    flag if we want the stacktrace call
  • string $complementary
    html complementary description

Return

No return.
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.