ctx-logger-file-store

file store for ctx-logger

Usage no npm install needed!

<script type="module">
  import ctxLoggerFileStore from 'https://cdn.skypack.dev/ctx-logger-file-store';
</script>

README

file store for ctx-logger

Extra options

  • dir: the directory used to save the keys and values. default ./logs
  • archiveDir: the log archive directory used when start the logger
  • filename: the log file name pattern, default '%t.%p.log'. %t means the day, %p means the process id.
  • dateFormat: the date format of %t used in the filename. default is YYYYMMDD

License :

Licensed under MIT

Copyright (c) 2015 kiliwalk