{"_id":"@apexdiscord/logger","_rev":"1-c32b21f11788fcd24b091df9415660f4","name":"@apexdiscord/logger","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@apexdiscord/logger","version":"1.0.0","description":"A central logging solution with file, console and Prometheus metrics support.","main":"dist/index","scripts":{"prepare":"gulp","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/apexdiscord/logger.git"},"keywords":["logger"],"author":{"name":"Soumil07"},"license":"GPL-3.0","bugs":{"url":"https://github.com/apexdiscord/logger/issues"},"homepage":"https://github.com/apexdiscord/logger#readme","devDependencies":{"@types/node":"^10.12.18","del":"^3.0.0","gulp":"^4.0.0","gulp-sourcemaps":"^2.6.4","gulp-typescript":"^5.0.0","merge-stream":"^1.0.1","tslint":"^5.12.0","typescript":"^3.2.2"},"gitHead":"7db4748b7fe97e94c8e2ace99f0643d5eaea0773","_id":"@apexdiscord/logger@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"soumil07","email":"soumil7777777@gmail.com"},"dist":{"integrity":"sha512-+up32ckMq61kbWga/akdvfbGfhuFiQmJIUbcv6SfYMQxLaLDRiqf0WwFSxbfqXXwTcrVO/t1bJI/sWptGVvzZA==","shasum":"d12b3058a36de64279b5f5765179c25825a5d8ac","tarball":"https://registry.npmjs.org/@apexdiscord/logger/-/logger-1.0.0.tgz","fileCount":31,"unpackedSize":56799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKKBbCRA9TVsSAnZWagAAsVYP+wfs50XRyBTDVJMQEZRL\nkcwNRyhLjYUWBc7sXzeaRMw+XcDULscWUKsRoiCDS3eojQz2PmPNkF6dSqMX\nAq9uNnw3n4kdwLav1+zvYI4CjTQn4QYx8QM/Ta9/M7mdKDUA2NNISeC4fGWW\nXzBWxFi8EJ2DQGG0QD92d8cAFwfbjBy3l1Xw+B2lXcMmk77LZUByxeFbV4Dx\n9QZM7f1PQG5h55yTZd6IbXbGOM7YbwUMlifluSBH0sCorD7e9+KxocWTRc4m\nUc4cZ91mbM4qyeiVtJqCJuDOnpSF/OJfqJyIfyk6JFvamfZ8QcZmEy8KkRyF\ndQyPZDkgCP6iVQc1Jp/+7Xve13X30xBz8IaC/MYJZjVQrFQ9Y81WTr2L+Ke5\nV7P/YppC0sPcecdrgDgxhw0N03wMaN++937thaPmLYqGAR7gBfQ7YPbb3z0i\nCmhZOqr6NokrtluTSHc+oeO6Ky9rxQsLSEiEq05aPPm/qMWgLElDy/F7+62d\nG7OtJlc/Lo7ICftLajiQ/p5N8LVjfTSsVwf/L9LORKgepp9r4zt9hTvOqzXK\ng1QN/aUyagQJZ3LW2xij0UBoihUzTjcG7tsaEEM7IHXpKpsYcVEqQKLxHHgn\nen7y2urQi7Q9ghjPbS8gWiHEPSAW0n1U3t15gkIOsSnkJ+eBUWrolQcHWfeo\nYszW\r\n=kDMU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCmVw5kA481BSWz+2G8wOizkSTEYLLAUFcYd8WP1UMqwIgXH249j598GUFWpyoyqlNwAJp29aBXSCjq9ZtUTpSAec="}]},"maintainers":[{"name":"soumil07","email":"soumil7777777@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.0_1546166363307_0.46698281912988593"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-30T10:39:23.138Z","1.0.0":"2018-12-30T10:39:23.409Z","modified":"2022-04-04T14:33:12.588Z"},"maintainers":[{"name":"soumil07","email":"soumil7777777@gmail.com"}],"description":"A central logging solution with file, console and Prometheus metrics support.","homepage":"https://github.com/apexdiscord/logger#readme","keywords":["logger"],"repository":{"type":"git","url":"git+https://github.com/apexdiscord/logger.git"},"author":{"name":"Soumil07"},"bugs":{"url":"https://github.com/apexdiscord/logger/issues"},"license":"GPL-3.0","readme":"# logger\r\n\r\nA central logging solution built for Apex but usable universally. Supports file logging and colored console logging out of the box, with easy functionality for adding other transports.\r\n\r\n## Usage\r\n\r\n```js\r\nconst { Logger, FileTransport, ConsoleTransport } = require('@apexdiscord/logger');\r\nconst logger = new Logger([\r\n    new ConsoleTransport(),\r\n    new FileTransport('logs/info.log', 'logs/error.log')\r\n]);\r\n\r\nlogger.log('Hello world');\r\n```","readmeFilename":"README.md"}