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
The big picture is that we want to create further separation between the client source and bin directories, the former containing client logic for e.g. the networking layer, logging, execution/syncing and the latter containing the import and instantiation of the logic contained in source, so that we can provide different client binaries, like a minimal security-focused one, one that is only for stateless verification and doesn't have to import any syncing logic, etc.
The logger currently is instantiated in the source directory and passed up to the binary directory through a function called getLogger: run() -> generateClientConfig() -> getLogger() -> createLogger()
Furthermore, the logger is typed as a winston logger.
We want to generalize the logger used with the client, to do this we can create a new general logger interface and implement a wrapping logger class around winston and as a more minimal option at this stage, a pure console.log logger class can be created to test as a reference to the winston one.
The text was updated successfully, but these errors were encountered:
The big picture is that we want to create further separation between the client source and bin directories, the former containing client logic for e.g. the networking layer, logging, execution/syncing and the latter containing the import and instantiation of the logic contained in source, so that we can provide different client binaries, like a minimal security-focused one, one that is only for stateless verification and doesn't have to import any syncing logic, etc.
The logger currently is instantiated in the source directory and passed up to the binary directory through a function called
getLogger
:run() -> generateClientConfig() -> getLogger() -> createLogger()
Furthermore, the logger is typed as a
winston
logger.We want to generalize the logger used with the client, to do this we can create a new general logger interface and implement a wrapping logger class around
winston
and as a more minimal option at this stage, a pureconsole.log
logger class can be created to test as a reference to thewinston
one.The text was updated successfully, but these errors were encountered: