algml0703

  • 홈
  • 태그
  • 방명록
  • 카테고리

winston 1

[ Node.js ] - winson이용하여 로그 남기기

winston 로그 관리를 위해 사용되는 모듈의 일종이다. 사용법 > npm i winston winston-daily-rotate-file - winston이 실질적인 로그를 남기는 모듈이고, - winston-daily-rotate-file 모듈을 로그를 일자별로 파일로 관리할 수 있도록 해주는 모듈이다. 기본 틀 import winston from "winston"; import wistonDaily from "winston-daily-rotate-file"; const { combine, printf, label, timestamp } = winston.format; const logFormat = printf((level, message, label, timestamp) => { return `..

Javascript/Node.js 2022.08.14
이전
1
다음
더보기
프로필사진

기록 하자

  • 분류 전체보기 (170)
    • Javascript (49)
      • Node.js (18)
      • Next.js (5)
      • React (6)
      • etc (19)
    • BlockChain (1)
    • 이론 (13)
    • ERROR (16)
    • Solidity (1)
    • 세팅 (6)
    • AWS (12)
    • DATABASE (5)
    • 잡동사니 (3)
    • 운영체제 (4)
    • JAVA (47)
      • Spring Boot (7)
      • gradle (3)
      • JPA (2)
    • 정보처리기사 (0)
    • 알고리즘 (0)
      • Javascript (0)
    • 기타 일상 (0)
      • 일기 (0)
    • 기타 (1)
      • docker (2)
    • plugin (0)
    • Typescript (2)
    • Kafka (1)

방문자수Total

  • Today :
  • Yesterday :

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

최근글과 인기글

  • 최근글
  • 인기글

Copyright © Kakao Corp. All rights reserved.

티스토리툴바