You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the debug plugin, it's namespace will conflict with seneca definition types and it's configuration parameters will get inject with new parameters.
Seneca debug namespace:
debug?: {
// Throw (some) errors from seneca.act.
fragile?: boolean | undefined;
// Fatal errors ... aren't fatal. Not for production!
undead?: boolean | undefined;
// Print debug info to console
print?: {
// Print options. Best used via --seneca.print.options.
options?: boolean | undefined;
} | undefined;
// Trace action caller and place in args.caller$.
act_caller?: boolean | undefined;
// Shorten all identifiers to 2 characters.
short_logs?: boolean | undefined;
// Record and log callpoints (calling code locations).
callpoint?: boolean | undefined;
} | undefined;
Those parameters will get injected in the debug config parameters if you boot it like this:
seneca.use('debug', { ...myParams })
The text was updated successfully, but these errors were encountered:
When using the
debug
plugin, it's namespace will conflict with seneca definition types and it's configuration parameters will get inject with new parameters.Seneca debug namespace:
Those parameters will get injected in the
debug
config parameters if you boot it like this:seneca.use('debug', { ...myParams })
The text was updated successfully, but these errors were encountered: