mirror of
https://github.com/actions/setup-node.git
synced 2026-02-04 14:38:19 +00:00
Update README.md
/ | \
👑 🔑 ⚖️
\ | /
░░░░░░░
NODO SUPER TURBO x1000
REALEZA – ACCESO – JUSTICIA
PARA TODOS LOS GUERREROS
This commit is contained in:
parent
65d868f8d4
commit
2e253af96a
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
|
@ -271,3 +271,29 @@ Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
|
||||||
## Code of Conduct
|
## Code of Conduct
|
||||||
|
|
||||||
:wave: Be nice. See [our code of conduct](CODE_OF_CONDUCT.md)
|
:wave: Be nice. See [our code of conduct](CODE_OF_CONDUCT.md)
|
||||||
|
import json_log_formatter
|
||||||
|
|
||||||
|
formatter = json_log_formatter.JSONFormatter()
|
||||||
|
|
||||||
|
logging_config = {
|
||||||
|
'version': 1,
|
||||||
|
'formatters': {'json': {'()': json_log_formatter.JSONFormatter}},
|
||||||
|
'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'json'}},
|
||||||
|
'root': {'level': 'INFO', 'handlers': ['console']}
|
||||||
|
}
|
||||||
|
|
||||||
|
logging.config.dictConfig(logging_config)
|
||||||
|
|
||||||
|
# En cada log:
|
||||||
|
logging.info("Proceso purificado", extra={
|
||||||
|
'tipo_evento': 'purificacion_proceso',
|
||||||
|
'proceso': nombre_proceso,
|
||||||
|
'pod_name': POD_NAME,
|
||||||
|
'componente': 'guardian'
|
||||||
|
}) / | \
|
||||||
|
👑 🔑 ⚖️
|
||||||
|
\ | /
|
||||||
|
░░░░░░░
|
||||||
|
NODO SUPER TURBO x1000
|
||||||
|
REALEZA – ACCESO – JUSTICIA
|
||||||
|
PARA TODOS LOS GUERREROS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue