Skip to content

Commit 4c5018b

Browse files
committed
---
yaml --- r: 24194 b: refs/heads/master c: c660516 h: refs/heads/master v: v3
1 parent 4b2c8e7 commit 4c5018b

File tree

3 files changed

+54
-76
lines changed

3 files changed

+54
-76
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2891f5abe3c7f455d16930a35bfc8d8d623de0ff
2+
refs/heads/master: c6605168a15d17cce57d1e23f6a3a290a8ab441d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/logging.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
use cast::transmute;
88

9-
export console_on, console_off, log_type;
10-
119
#[nolink]
1210
extern mod rustrt {
1311
#[legacy_exports];
@@ -17,7 +15,7 @@ extern mod rustrt {
1715
}
1816

1917
/// Turns on logging to stdout globally
20-
fn console_on() {
18+
pub fn console_on() {
2119
rustrt::rust_log_console_on();
2220
}
2321

@@ -28,7 +26,7 @@ fn console_on() {
2826
* runtime environment's logging spec, e.g. by setting
2927
* the RUST_LOG environment variable
3028
*/
31-
fn console_off() {
29+
pub fn console_off() {
3230
rustrt::rust_log_console_off();
3331
}
3432

0 commit comments

Comments
 (0)