summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/warning_function
blob: 537651ed5fbaa13b18542694d5ee3093e2923c35 (plain)
1
2
3
4
5
6
# Added warning function

This function prints its argument to the console prefixed by "WARNING:" in
yellow color. A simple example:

warning('foo is deprecated, please use bar instead')